starting build "71ec88b9-8e3b-4429-be5d-7b05010bcfdd" 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-5286c0b9-145e-4adb-9ac0-be7337810b17" Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Already have image (with digest): gcr.io/cloud-builders/docker Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Sending build context to Docker daemon 3.584kB Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Step 1/5 : FROM gcr.io/oss-fuzz-base/base-builder Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": latest: Pulling from oss-fuzz-base/base-builder Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": b549f31133a9: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": b880dc731500: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 82041dc1a4fa: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 04b76f7cd96d: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": fa579f83bc7d: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": fe5bdcfddebe: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 71c80bdeaec9: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 0754d8a56012: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 723e414dadd7: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 53113f4ad526: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": fc6bda1704aa: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 349fc320bd50: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": c24213376e70: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": a52c4b712ad4: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": e54e961114cf: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": eec8cabe327b: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 561e2e49f924: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 0d535df7fe34: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": a2cff97ef91a: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": cc9147cf8d09: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": a6c1b0cb7a93: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 2cb6b8fa74c4: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 2637bf5d1a33: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 693d62192859: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 28a3979027aa: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": dbcaf5522a5e: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": d9f90f19b915: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": afa9e32e6d33: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 42d2ef0af396: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 53113f4ad526: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 21ef0f851d8c: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 349fc320bd50: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": fd2a862ad38c: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 71c80bdeaec9: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 3cc37bc8d6fe: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": c24213376e70: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 7677dd7601c9: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 292e28b8283e: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 12423f642b7b: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": dc372bc84b0d: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": c4d0e60f59d1: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 13cd037adbd1: Pulling fs layer Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": fc6bda1704aa: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": a6c1b0cb7a93: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 0754d8a56012: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": e54e961114cf: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 28a3979027aa: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": d9f90f19b915: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 723e414dadd7: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 2cb6b8fa74c4: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": a52c4b712ad4: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": cc9147cf8d09: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": dc372bc84b0d: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": c4d0e60f59d1: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": fd2a862ad38c: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": a2cff97ef91a: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 693d62192859: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 2637bf5d1a33: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 561e2e49f924: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": dbcaf5522a5e: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": afa9e32e6d33: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": eec8cabe327b: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 21ef0f851d8c: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 42d2ef0af396: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 3cc37bc8d6fe: Waiting Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": fa579f83bc7d: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": fa579f83bc7d: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 82041dc1a4fa: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 82041dc1a4fa: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 71c80bdeaec9: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 71c80bdeaec9: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 0754d8a56012: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 0754d8a56012: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": b549f31133a9: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 04b76f7cd96d: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 04b76f7cd96d: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": fc6bda1704aa: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": fc6bda1704aa: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 349fc320bd50: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 349fc320bd50: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": a52c4b712ad4: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": c24213376e70: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": c24213376e70: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": eec8cabe327b: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": e54e961114cf: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": e54e961114cf: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 53113f4ad526: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 53113f4ad526: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": b880dc731500: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": a2cff97ef91a: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": a2cff97ef91a: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 0d535df7fe34: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 0d535df7fe34: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 561e2e49f924: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 561e2e49f924: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": cc9147cf8d09: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": a6c1b0cb7a93: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": a6c1b0cb7a93: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 2cb6b8fa74c4: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 693d62192859: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 28a3979027aa: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 28a3979027aa: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 2637bf5d1a33: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 2637bf5d1a33: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": dbcaf5522a5e: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": d9f90f19b915: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": afa9e32e6d33: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 42d2ef0af396: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 42d2ef0af396: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": b549f31133a9: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 7677dd7601c9: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 7677dd7601c9: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": fd2a862ad38c: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 3cc37bc8d6fe: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 3cc37bc8d6fe: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 21ef0f851d8c: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 21ef0f851d8c: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 292e28b8283e: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": dc372bc84b0d: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": dc372bc84b0d: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 12423f642b7b: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 12423f642b7b: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 723e414dadd7: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 723e414dadd7: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": c4d0e60f59d1: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": c4d0e60f59d1: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 13cd037adbd1: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 13cd037adbd1: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": fe5bdcfddebe: Verifying Checksum Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": fe5bdcfddebe: Download complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": b880dc731500: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 82041dc1a4fa: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 04b76f7cd96d: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": fa579f83bc7d: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": fe5bdcfddebe: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 71c80bdeaec9: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 0754d8a56012: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 723e414dadd7: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 53113f4ad526: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": fc6bda1704aa: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 349fc320bd50: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": c24213376e70: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": a52c4b712ad4: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": e54e961114cf: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": eec8cabe327b: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 561e2e49f924: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 0d535df7fe34: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": a2cff97ef91a: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": cc9147cf8d09: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": a6c1b0cb7a93: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 2cb6b8fa74c4: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 2637bf5d1a33: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 693d62192859: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 28a3979027aa: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": dbcaf5522a5e: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": d9f90f19b915: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": afa9e32e6d33: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 42d2ef0af396: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 21ef0f851d8c: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": fd2a862ad38c: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 3cc37bc8d6fe: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 7677dd7601c9: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 292e28b8283e: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 12423f642b7b: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": dc372bc84b0d: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": c4d0e60f59d1: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 13cd037adbd1: Pull complete Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Digest: sha256:17577aa2fe7890132ccb9b77d973994084757f6609989df1da9380a5afcb2875 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": ---> b1f32f5878be Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 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-5286c0b9-145e-4adb-9ac0-be7337810b17": ---> Running in f09483f44c34 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Fetched 383 kB in 1s (332 kB/s) Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Reading package lists... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Reading package lists... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Building dependency tree... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Reading state information... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": The following packages were automatically installed and are no longer required: Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": autotools-dev libsigsegv2 m4 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Use 'apt autoremove' to remove them. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": The following additional packages will be installed: Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": cmake-data googletest libarchive13 libgflags2.2 libgoogle-perftools4 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": libicu66 libjsoncpp1 libleveldb1d liblzma-dev libprotobuf-lite17 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": libprotobuf17 libprotoc17 librhash0 libsnappy1v5 libtcmalloc-minimal4 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": libunwind-dev libunwind8 libuv1 libxml2 zlib1g-dev Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Suggested packages: Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": cmake-doc ninja-build lrzip leveldb-doc liblzma-doc Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": The following NEW packages will be installed: Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": cmake cmake-data googletest libarchive13 libgflags-dev libgflags2.2 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": libgoogle-perftools-dev libgoogle-perftools4 libgtest-dev libicu66 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": libjsoncpp1 libleveldb-dev libleveldb1d liblzma-dev libprotobuf-dev Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": libprotobuf-lite17 libprotobuf17 libprotoc-dev libprotoc17 librhash0 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": libsnappy-dev libsnappy1v5 libtcmalloc-minimal4 libunwind-dev libunwind8 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": libuv1 libxml2 protobuf-compiler zlib1g-dev Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 0 upgraded, 29 newly installed, 0 to remove and 0 not upgraded. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Need to get 22.9 MB of archives. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": After this operation, 123 MB of additional disk space will be used. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libicu66 amd64 66.1-2ubuntu2.1 [8515 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 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-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libuv1 amd64 1.34.2-1ubuntu1.5 [80.9 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 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-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libarchive13 amd64 3.4.0-2ubuntu1.5 [327 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 libjsoncpp1 amd64 1.7.4-3.1ubuntu2 [75.6 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 librhash0 amd64 1.3.9-1 [113 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 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-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:9 http://archive.ubuntu.com/ubuntu focal/universe amd64 googletest all 1.10.0-2 [623 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:10 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgflags2.2 amd64 2.2.2-1build1 [78.0 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:11 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgflags-dev amd64 2.2.2-1build1 [96.6 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:12 http://archive.ubuntu.com/ubuntu focal/main amd64 libtcmalloc-minimal4 amd64 2.7-1ubuntu2 [93.0 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:13 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libunwind8 amd64 1.2.1-9ubuntu0.1 [47.7 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:14 http://archive.ubuntu.com/ubuntu focal/main amd64 libgoogle-perftools4 amd64 2.7-1ubuntu2 [195 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:15 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 liblzma-dev amd64 5.2.4-1ubuntu1.1 [147 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libunwind-dev amd64 1.2.1-9ubuntu0.1 [472 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:17 http://archive.ubuntu.com/ubuntu focal/main amd64 libgoogle-perftools-dev amd64 2.7-1ubuntu2 [445 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:18 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgtest-dev amd64 1.10.0-2 [1583 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:19 http://archive.ubuntu.com/ubuntu focal/main amd64 libsnappy1v5 amd64 1.1.8-1build1 [16.7 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:20 http://archive.ubuntu.com/ubuntu focal/main amd64 libleveldb1d amd64 1.22-3ubuntu2 [139 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:21 http://archive.ubuntu.com/ubuntu focal/main amd64 libleveldb-dev amd64 1.22-3ubuntu2 [191 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 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-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:23 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libprotobuf17 amd64 3.6.1.3-2ubuntu5.2 [798 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:24 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libprotoc17 amd64 3.6.1.3-2ubuntu5.2 [646 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 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-5286c0b9-145e-4adb-9ac0-be7337810b17": 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-5286c0b9-145e-4adb-9ac0-be7337810b17": 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-5286c0b9-145e-4adb-9ac0-be7337810b17": Get:28 http://archive.ubuntu.com/ubuntu focal/main amd64 libsnappy-dev amd64 1.1.8-1build1 [29.0 kB] Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": 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-5286c0b9-145e-4adb-9ac0-be7337810b17": debconf: delaying package configuration, since apt-utils is not installed Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Fetched 22.9 MB in 4s (5948 kB/s) Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libicu66:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": (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-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../00-libicu66_66.1-2ubuntu2.1_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libicu66:amd64 (66.1-2ubuntu2.1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libxml2:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../01-libxml2_2.9.10+dfsg-5ubuntu0.20.04.10_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.10) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libuv1:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../02-libuv1_1.34.2-1ubuntu1.5_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libuv1:amd64 (1.34.2-1ubuntu1.5) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package cmake-data. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../03-cmake-data_3.16.3-1ubuntu1.20.04.1_all.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking cmake-data (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libarchive13:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../04-libarchive13_3.4.0-2ubuntu1.5_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libarchive13:amd64 (3.4.0-2ubuntu1.5) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libjsoncpp1:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../05-libjsoncpp1_1.7.4-3.1ubuntu2_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package librhash0:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../06-librhash0_1.3.9-1_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking librhash0:amd64 (1.3.9-1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package cmake. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../07-cmake_3.16.3-1ubuntu1.20.04.1_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking cmake (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package googletest. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../08-googletest_1.10.0-2_all.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking googletest (1.10.0-2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libgflags2.2. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../09-libgflags2.2_2.2.2-1build1_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libgflags2.2 (2.2.2-1build1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libgflags-dev. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../10-libgflags-dev_2.2.2-1build1_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libgflags-dev (2.2.2-1build1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libtcmalloc-minimal4:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../11-libtcmalloc-minimal4_2.7-1ubuntu2_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libtcmalloc-minimal4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libunwind8:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../12-libunwind8_1.2.1-9ubuntu0.1_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libunwind8:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libgoogle-perftools4:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../13-libgoogle-perftools4_2.7-1ubuntu2_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libgoogle-perftools4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package liblzma-dev:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../14-liblzma-dev_5.2.4-1ubuntu1.1_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking liblzma-dev:amd64 (5.2.4-1ubuntu1.1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libunwind-dev:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../15-libunwind-dev_1.2.1-9ubuntu0.1_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libunwind-dev:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libgoogle-perftools-dev:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../16-libgoogle-perftools-dev_2.7-1ubuntu2_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libgoogle-perftools-dev:amd64 (2.7-1ubuntu2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libgtest-dev:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../17-libgtest-dev_1.10.0-2_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libgtest-dev:amd64 (1.10.0-2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libsnappy1v5:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../18-libsnappy1v5_1.1.8-1build1_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libsnappy1v5:amd64 (1.1.8-1build1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libleveldb1d:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../19-libleveldb1d_1.22-3ubuntu2_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libleveldb1d:amd64 (1.22-3ubuntu2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libleveldb-dev:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../20-libleveldb-dev_1.22-3ubuntu2_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libleveldb-dev:amd64 (1.22-3ubuntu2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libprotobuf-lite17:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../21-libprotobuf-lite17_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libprotobuf-lite17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libprotobuf17:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../22-libprotobuf17_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libprotobuf17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libprotoc17:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../23-libprotoc17_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libprotoc17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package zlib1g-dev:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../24-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu1.5_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libprotobuf-dev:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../25-libprotobuf-dev_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libprotobuf-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libprotoc-dev:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../26-libprotoc-dev_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libprotoc-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package libsnappy-dev:amd64. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../27-libsnappy-dev_1.1.8-1build1_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking libsnappy-dev:amd64 (1.1.8-1build1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Selecting previously unselected package protobuf-compiler. Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Preparing to unpack .../28-protobuf-compiler_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Unpacking protobuf-compiler (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libicu66:amd64 (66.1-2ubuntu2.1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libprotobuf-lite17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libtcmalloc-minimal4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libunwind8:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up googletest (1.10.0-2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libsnappy1v5:amd64 (1.1.8-1build1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libuv1:amd64 (1.34.2-1ubuntu1.5) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up liblzma-dev:amd64 (5.2.4-1ubuntu1.1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up librhash0:amd64 (1.3.9-1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up cmake-data (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libprotobuf17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.10) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libgoogle-perftools4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libgflags2.2 (2.2.2-1build1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libleveldb1d:amd64 (1.22-3ubuntu2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libprotoc17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libgtest-dev:amd64 (1.10.0-2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libunwind-dev:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up protobuf-compiler (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libleveldb-dev:amd64 (1.22-3ubuntu2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libarchive13:amd64 (3.4.0-2ubuntu1.5) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libgoogle-perftools-dev:amd64 (2.7-1ubuntu2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libsnappy-dev:amd64 (1.1.8-1build1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libprotobuf-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libgflags-dev (2.2.2-1build1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up libprotoc-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Setting up cmake (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Processing triggers for libc-bin (2.31-0ubuntu9.18) ... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Removing intermediate container f09483f44c34 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": ---> b6bf285b1acd Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Step 3/5 : RUN git clone --depth 1 https://github.com/apache/brpc.git Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": ---> Running in a7cf34d44bd6 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Cloning into 'brpc'... Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Removing intermediate container a7cf34d44bd6 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": ---> 7d02e9da0cd1 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Step 4/5 : RUN cp $SRC/brpc/test/fuzzing/oss-fuzz.sh $SRC/build.sh Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": ---> Running in 936c74b2072b Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Removing intermediate container 936c74b2072b Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": ---> 39c70fa4dd75 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Step 5/5 : WORKDIR $SRC/brpc/ Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": ---> Running in bb98f9006743 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Removing intermediate container bb98f9006743 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": ---> 1e103e65a749 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Successfully built 1e103e65a749 Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Successfully tagged gcr.io/oss-fuzz/brpc:latest Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17": Successfully tagged us-central1-docker.pkg.dev/oss-fuzz/unsafe/brpc:latest Finished Step #1 - "build-5286c0b9-145e-4adb-9ac0-be7337810b17" Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/brpc Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/filecasRhN 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=7cd0c25a720262267531dcbb1135158b25de09ca Step #2 - "srcmap": + jq_inplace /tmp/filecasRhN '."/src/brpc" = { type: "git", url: "https://github.com/apache/brpc.git", rev: "7cd0c25a720262267531dcbb1135158b25de09ca" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filex4kIbd Step #2 - "srcmap": + cat /tmp/filecasRhN Step #2 - "srcmap": + jq '."/src/brpc" = { type: "git", url: "https://github.com/apache/brpc.git", rev: "7cd0c25a720262267531dcbb1135158b25de09ca" }' Step #2 - "srcmap": + mv /tmp/filex4kIbd /tmp/filecasRhN 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/filecasRhN Step #2 - "srcmap": + rm /tmp/filecasRhN 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": "7cd0c25a720262267531dcbb1135158b25de09ca" 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.1s) Step #3 - "compile-afl-address-x86_64": -- Generating done (0.4s) Step #3 - "compile-afl-address-x86_64": -- Build files have been written to: /src/brpc/build Step #3 - "compile-afl-address-x86_64": ++ nproc Step #3 - "compile-afl-address-x86_64": + make fuzz_butil fuzz_esp fuzz_hpack fuzz_http fuzz_hulu fuzz_json fuzz_redis fuzz_shead fuzz_sofa fuzz_uri --ignore-errors -j32 Step #3 - "compile-afl-address-x86_64": [ 0%] Generating idl_options.pb.h, idl_options.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating v3.pb.h, v3.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/builtin_service.pb.h, brpc/builtin_service.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/errno.pb.h, brpc/errno.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating addressbook.pb.h, addressbook.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/get_favicon.pb.h, brpc/get_favicon.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 addressbook_encode_decode.pb.h, addressbook_encode_decode.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating addressbook_map.pb.h, addressbook_map.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 addressbook1.pb.h, addressbook1.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/nshead_meta.pb.h, brpc/nshead_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/options.pb.h, brpc/options.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating echo.pb.h, echo.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating grpc.pb.h, grpc.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/policy/hulu_pbrpc_meta.pb.h, brpc/policy/hulu_pbrpc_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating health_check.pb.h, health_check.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating iobuf.pb.h, iobuf.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating message.pb.h, message.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 repeated.pb.h, repeated.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating v1.pb.h, v1.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating snappy_message.pb.h, snappy_message.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating brpc/policy/mongo.pb.h, brpc/policy/mongo.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/policy/public_pbrpc_meta.pb.h, brpc/policy/public_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/policy/sofa_pbrpc_meta.pb.h, brpc/policy/sofa_pbrpc_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 8%] Generating brpc/rpc_dump.pb.h, brpc/rpc_dump.pb.cc Step #3 - "compile-afl-address-x86_64": [ 8%] Generating brpc/rtmp.pb.h, brpc/rtmp.pb.cc Step #3 - "compile-afl-address-x86_64": [ 8%] Generating brpc/span.pb.h, brpc/span.pb.cc Step #3 - "compile-afl-address-x86_64": [ 8%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 8%] Generating brpc/trackme.pb.h, brpc/trackme.pb.cc Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/dtoa_wrapper.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/g_fmt.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dynamic_annotations/dynamic_annotations.c.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/modp_b64/modp_b64.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/icu/icu_utf.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/superfasthash/superfasthash.c.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/demangle.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/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/symbolize/symbolize.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-stubs-internal.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/arena.cpp.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/murmurhash3/murmurhash3.cpp.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/at_exit.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/atomicops_internals_x86_gcc.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64url.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/cpu.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/big_endian.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/alias.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/asan_invalid_access.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/crash_logging.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/dump_without_crashing.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/proc_maps_linux.cc.o Step #3 - "compile-afl-address-x86_64": [ 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/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/environment.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook1.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/idl_options.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_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/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 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": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted_memory.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/singleton.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/weak_ptr.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/file_descriptor_shuffle.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/global_descriptors.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/process_util.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fast_rand.cpp.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/safe_strerror_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_map.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/sha1_portable.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/latin1_string_conversions.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/nullable_string16.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/safe_sprintf.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string16.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_split.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_piece.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util_constants.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/stringprintf.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_offset_string_conversions.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversion_utils.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversions.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/cancellation_flag.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/condition_variable_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/waitable_event_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/non_thread_safe_impl.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/simple_thread.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_checker_impl.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_collision_warner.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_id_name_manager.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_restrictions.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/watchdog.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_tick_clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/tick_clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time.cc.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/version.cc.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/logging.cc.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/class_name.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/errno.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/find_cstr.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/status.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/string_printf.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_local.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_key.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/unix_socket.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/endpoint.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fd_utility.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/temp_file.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_watcher.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/zero_copy_stream_as_streambuf.cpp.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/crc32c.cc.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/containers/case_ignored_flat_map.cpp.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf.cpp.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/single_iobuf.cpp.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf_profiler.cpp.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/binary_printer.cpp.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/recordio.cc.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/popen.cpp.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_linux.cc.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_linux.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/sys_string_conversions_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/iobuf.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/message.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/repeated.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/snappy_message.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v1.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v2.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v3.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/grpc.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/health_check.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/span.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/builtin_service.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/grpc_health_check.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_js.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/errno.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/nshead_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": /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/options.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/baidu_rpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": /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": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/hulu_pbrpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/public_pbrpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/sofa_pbrpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/mongo.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/trackme.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/streaming_rpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/proto_base.pb.cc.o Step #3 - "compile-afl-address-x86_64": 1 warning generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/collector.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/default_variables.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/percentile.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/sampler.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/gflag.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/latency_recorder.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/mvariable.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/variable.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread_once.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/butex.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/condition_variable.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/context.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/countdown_event.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/errno.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/execution_queue.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/fd.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/key.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/id.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/interrupt_pthread.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/mutex.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/rwlock.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_tracer.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/timer_thread.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_map.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_type_resolver.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/field_type.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/mcpack2pb.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/parser.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/serializer.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/acceptor.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_connection_type.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_max_concurrency.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/amf.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.cpp:75:39: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<30UL>' requested here Step #3 - "compile-afl-address-x86_64": 75 | g->get_interval_at(index).merge(interval); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :134:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 134 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :130:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 130 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<30>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/combiner.h:225:63: note: in instantiation of member function 'bvar::detail::PercentileSamples<30>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 225 | const ElementTp element_identity = ElementTp(), Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:680:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here Step #3 - "compile-afl-address-x86_64": 680 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:1344:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #3 - "compile-afl-address-x86_64": 1344 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:359:4: note: in instantiation of function template specialization 'std::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #3 - "compile-afl-address-x86_64": 359 | : __shared_ptr<_Tp>(__tag, std::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::detail::AddPercentileSamples>>::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::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::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::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::detail::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:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | 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 | 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": Sam 289 | memsept(this,le 0, (sizeof()*t h:i sd)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16a: tanote: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here(), Step #3 - "compile-afl-address-x86_64": tim 40e | _ u s ( Sample() : data(), time_us(0) {0} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h):116: 23{:}  Step #3 - "compile-afl-address-x86_64":  note: |  ^in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/detail/sampler.h:116116 | : 23 :   note:  in instantiation of member function 'bvar::detail::Sample>::Sample' requested here  Step #3 - "compile-afl-address-x86_64": Sample<116T> | t m p ; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/semaphore.cpp:20: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16:529 | In file included from _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:note: 289:explicitly cast the pointer to silence this warning16:/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: 27: Step #3 - "compile-afl-address-x86_64": 289 | note: In file included from explicitly cast the pointer to silence this warning/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 289 | mem set(this, 0,: size289o:f16:(  *t hwarning: is)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  | memfirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] (void*)set(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": 289 |  memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: In file included from note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | /src/brpc/src/bthread/rwlock.cpp memset(:19: Step #3 - "compile-afl-address-x86_64": In file included from t/src/brpc/src/bthread/rwlock.hhi:s22: Step #3 - "compile-afl-address-x86_64": , 0, In file included from /src/brpc/src/bthread/bthread.hs:i32ze: Step #3 - "compile-afl-address-x86_64": ofIn file included from /src/brpc/src/bthread/mutex.h:(27*: Step #3 - "compile-afl-address-x86_64": In file included from th/src/brpc/src/bvar/utils/lock_timer.hi:28s: 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":  Step #3 - "compile-afl-address-x86_64": | /src/brpc/src/bvar/detail/percentile.h ^: Step #3 - "compile-afl-address-x86_64": 289: 16| : (void*) 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] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<1022>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.cpp:64:55: note: in instantiation of member function 'bvar::detail::PercentileSamples<1022>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 64 | std::unique_ptr cb(new CombinedPercentileSamples); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(tIn file included from /src/brpc/src/bthread/id.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this));his, 0, sizeof(*this Step #3 - "compile-afl-address-x86_64": | ) ^ Step #3 - "compile-afl-address-x86_64": ); Step #3 - "compile-afl-address-x86_64": | /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  ^ 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | In file included from /src/brpc/src/bthread/timer_thread.cpp:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampreturn op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :176:1: note: lexpanded from hereer Step #3 - "compile-afl-address-x86_64": = new sampl176e | rt_tymppe_(sttahciks_ar)r;ay Step #3 - "compile-afl-address-x86_64": _ s| iz ^e Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64":  | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:/src/brpc/src/bvar/detail/percentile.h20: :289:note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | 425 | m emcsoents(tt hiunssi,g ne0d, nsiazmeeo#f#_(s*tatchki_sar)r)a;y_ Step #3 - "compile-afl-address-x86_64": s iz| e ^= Step #3 - "compile-afl-address-x86_64": ( n| a (void*)m Step #3 - "compile-afl-address-x86_64": e/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | ##_s DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, i64z); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": e/src/brpc/src/butil/macros.h:426:42: note: <= (maxsize)expanded from macro 'DEFINE_SMALL_ARRAY' ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": :172:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 172 | tmp_st 426ack_a | rray_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": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :162:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 162 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :176:1: note: expanded from here[ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/baidu_master_service.cpp.o Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": 176 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :172:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 172 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.cpp:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/execution_queue.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/execution_queue.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/key.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :153:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 153 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :149:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 149 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/fd.cpp:36: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bad_method_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:In file included from /src/brpc/src/bthread/butex.cpp:35: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), t12:ime_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23note: : in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested herenote: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": 29 | 116 | return Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 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 | 529 | 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": _sampler = new151 |  sampler_ _seriest_yspaem(2pl warninges generated. Step #3 - "compile-afl-address-x86_64": thir = sne)w; Step #3 - "compile-afl-address-x86_64": S e| ri ^e Step #3 - "compile-afl-address-x86_64": sSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class Latency/src/brpc/src/bvar/detail/percentile.hRe:c289:o16r:d erBnote: asexplicitly cast the pointer to silence this warninge Step #3 - "compile-afl-address-x86_64": {  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: 289initializer of 'tmp_stack_array_size' is not a constant expression |  Step #3 - "compile-afl-address-x86_64": memset(this132, |  0  ,  s iDzEeFoIfNE(_*SMtAhLLi_sAR)R)A;Y(u Step #3 - "compile-afl-address-x86_64": i n| t3 ^2 Step #3 - "compile-afl-address-x86_64": _t ,| t (void*)m Step #3 - "compile-afl-address-x86_64": p, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :173:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 173 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :169:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 169 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bthreads_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :164:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 164 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :160:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 160 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_v2o warnings generated. Step #3 - "compile-afl-address-x86_64": id(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge([ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/connections_service.cpp.o Step #3 - "compile-afl-address-x86_64": *rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: warning:  151variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] |  Step #3 - "compile-afl-address-x86_64": _seri 599 | DEFesIN_sE_SMALL_ARRAY(int, nums, ngroup, 128); Step #3 - "compile-afl-address-x86_64": | ampler = new SeriesSamp ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~le Step #3 - "compile-afl-address-x86_64": r(th/src/brpc/src/butil/macros.hi:s426:,29 :_ varnote: );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/latency_recorder.h:49:7: 426 |  note:  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here  Step #3 - "compile-afl-address-x86_64": c har na49m | e#c#l_asstasck _Laatrernacyy[ResciozredoefrB(aTspe) {* Step #3 - "compile-afl-address-x86_64": n a| me ^# Step #3 - "compile-afl-address-x86_64": #_stack_a/src/brpc/src/bvar/detail/percentile.hr:r132a:y13_:s izenote: ];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": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": 132 | /src/brpc/src/bthread/task_control.cpp D:E599F:I5N:E _SMnote: ALL_Ainitializer of 'nums_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: RRAY(uint32note: expanded from macro 'DEFINE_SMALL_ARRAY'_t, tmp, rhs Step #3 - "compile-afl-address-x86_64": ._num_sampleIn file included from s, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bthread/mutex.cpp:/src/brpc/src/butil/macros.h:27426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY': Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :121:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 121 | nums_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :117:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 117 | nums_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": 426499 | |  c h a rb1 .nmaemreg#e#(_bs2t)a;ck Step #3 - "compile-afl-address-x86_64": _ a| rr ^a Step #3 - "compile-afl-address-x86_64": y[sizeo/src/brpc/src/bvar/window.hf:53(:T17p:) * note: nain instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested hereme Step #3 - "compile-afl-address-x86_64": ##_stack_array_si z53e | ] ; \  Step #3 - "compile-afl-address-x86_64": | In file included from /src/brpc/src/bvar/bvar.h _v:27 ^: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, Step #3 - "compile-afl-address-x86_64": a:164:1: rsiz-note: expanded from here Step #3 - "compile-afl-address-x86_64": e>oof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": p()(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);164 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :160:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 160 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :164:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 164 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :160:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 160 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##/src/brpc/src/mcpack2pb/serializer.cpp:317:38:_st ack_awarning: rray_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 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": :170:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 170 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/dir_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_control.cpp:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; /src/brpc/src/mcpack2pb/serializer.cpp:317 \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tm/src/brpc/src/bvar/detail/percentile.hp[:c499u:r12_:ba tchnote: ];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/mcpack2pb/serializer.cpp:377:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here499 | Step #3 - "compile-afl-address-x86_64": b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | 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 siz e _t c ur_batch = std::mreturn 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(_in(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 38: /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(Windwarning: 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: owBasnote: 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:317e* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var);: Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE38_SMA:L L_Anote: Rinitializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": RAY(uint32_t, tmp, rhs._num_s317amp | l e s ,  6 4  ) ;Fi Step #3 - "compile-afl-address-x86_64": x e| dH ^e Step #3 - "compile-afl-address-x86_64": adAndVal/src/brpc/src/butil/macros.hu:e<426T:>42 tmp[cur:_ batnote: chexpanded 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/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 426 | char name##316_ | s t a c k _ a r r a y [ scioznesotf (sTipz)e _*t ncaumre_#ba#t_csht a=c ks_tadr:r:amyi_n(sn,i zBeA]T;C H ) ;  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": :197:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 197 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = /src/brpc/src/mcpack2pb/serializer.cpp(na:m317e:#38#:_ sizwarning: e <=variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] ( Step #3 - "compile-afl-address-x86_64": m axsize) ? name##_size :317  | 0  ) ; \  Step #3 - "compile-afl-address-x86_64": |  ^F Step #3 - "compile-afl-address-x86_64": ixedHea:d193A:n1d:V alunote: e Step #3 - "compile-afl-address-x86_64": tmp[cur_batch193 | tmp_]st;ac Step #3 - "compile-afl-address-x86_64": k _|  ^~~~~~~~~a Step #3 - "compile-afl-address-x86_64": rray_size/src/brpc/src/mcpack2pb/serializer.cpp Step #3 - "compile-afl-address-x86_64": : 381| :3^: Step #3 - "compile-afl-address-x86_64": note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 381 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:383:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 383 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:385:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 385 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:387:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 387 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:389:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 389 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:391:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 391 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:393:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 393 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:395:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 395 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:397:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 397 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :160:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 160 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :156:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 156 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flags_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flot_min_js.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_group.cpp:36: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | m[ 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": emset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_js_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/grpc_health_check_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :170:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 170 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/health_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/hotspots_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :189:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 189 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :185:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 185 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 64%] 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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/index_service.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/jquery_min_js.cpp.o Step #3 - "compile-afl-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/list_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/adaptive_max_concurrency.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :222:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 222 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :218:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 218 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/method_status.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/acceptor.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/acceptor.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_perl.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 67%] 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/bthreads_service.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :176:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 176 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :172:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 172 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/prometheus_metrics_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested hereIn file included from Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/builtin/dir_service.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16:  53warning:  | 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->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": | 289 | memset(this,  ^ Step #3 - "compile-afl-address-x86_64": 0, sizeof(/src/brpc/src/bvar/detail/series.h*:168t:h13is)); Step #3 - "compile-afl-address-x86_64": |  ^: Step #3 - "compile-afl-address-x86_64":  note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here/src/brpc/src/bvar/detail/sampler.h: Step #3 - "compile-afl-address-x86_64": 40 168 | :16: note:  in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here call_op_returning_void(op, Step #3 - "compile-afl-address-x86_64": tmp, _40da | t a . s eScaomnpdl(ei())) ;: Step #3 - "compile-afl-address-x86_64": d a| ta ^( Step #3 - "compile-afl-address-x86_64": ), time_u/src/brpc/src/bvar/detail/series.hs:(116:016:) {}note:  Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 116 | /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.hr:e98t:u9r:n  anote: ppin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereend Step #3 - "compile-afl-address-x86_64": _ second(value, _op); Step #3 - "compile-afl-address-x86_64": 98 | |  ^ Step #3 - "compile-afl-address-x86_64":   ta/src/brpc/src/bvar/window.hke:_65sam:p25l:e ();note:  Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here | Step #3 - "compile-afl-address-x86_64":  ^ Step #3 - "compile-afl-address-x86_64": 65 | /src/brpc/src/bvar/detail/percentile.h : 529 : 28 :   note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here  Step #3 - "compile-afl-address-x86_64": _series.a529p | p e n d ( _ o wn e r -_>sgaemtp_lvearl u=e (n1ew)) ;sa Step #3 - "compile-afl-address-x86_64": m p| le ^2 warningr_types generated. 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": (this); Step #3 - "compile-afl-address-x86_64": | 58 | ^ Step #3 - "compile-afl-address-x86_64":   SeriesSampler(WindowBase* owner, R/src/brpc/src/bvar/detail/percentile.h*: var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 289:16:/src/brpc/src/bvar/window.h :151:note: 35:explicitly cast the pointer to silence this warning  Step #3 - "compile-afl-address-x86_64":  note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 289 | 151 | In file included from _s/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.heries_samp:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: memset(tler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: his, 0, warning: sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) 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": 289 | initializer of 'tmp_stack_array_size' is not a constant expression 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::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sa 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_smple(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": ize]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/protobufs_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29[ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/rpcz_service.cpp.o 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 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sockets_service.cpp.o Step #3 - "compile-afl-address-x86_64": 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_[ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sorttable_js.cpp.o Step #3 - "compile-afl-address-x86_64": samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 67%] 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :199:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 199 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :195:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 195 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/bad_method_service.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this,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": 0In file included from /src/brpc/src/bthread/bthread.h,:32 : Step #3 - "compile-afl-address-x86_64": In file included from s/src/brpc/src/bthread/mutex.hi:z27e: Step #3 - "compile-afl-address-x86_64": oIn file included from f/src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h(:289:16: warning: *tfirst 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": his)); 289 | memset(this, Step #3 - "compile-afl-address-x86_64": 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/get_js_service.cpp:20: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/connections_service.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/flags_service.cpp:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/threads_service.cpp.o 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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/version_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/viz_min_js.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :229:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 2 warnings generated 229 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": . Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :225:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 225 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vlog_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/health_service.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/channel.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/checksum.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/grpc_health_check_service.cpp:20: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": | In file included from /src/brpc/src/brpc/builtin/ids_service.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h: ^26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289: Step #3 - "compile-afl-address-x86_64": 16: warning: /src/brpc/src/bvar/detail/percentile.h:first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/circuit_breaker.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/cluster_recover_policy.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/compress.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :240:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 240 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :236:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 236 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/hotspots_service.cpp:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/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/couchbase.cpp.o Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/has_epollrdhup.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :50:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 50 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :46:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 46 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/health_check.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :16:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 16 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :12:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 12 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/list_service.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/hpack.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/memory_service.cpp:20: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/pprof_service.cpp:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_message.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_parser.cpp.o 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/jemalloc_profiler.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :250:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 250 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :246:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 246 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^In file included from /src/brpc/src/brpc/builtin/prometheus_metrics_service.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]2/src/brpc/src/bvar/detail/sampler.h Step #3 - "compile-afl-address-x86_64": warnings generated. Step #3 - "compile-afl-address-x86_64": :116:23 :289 | m enote: in instantiation of member function 'bvar::detail::Sample>::Sample' requested heremset Step #3 - "compile-afl-address-x86_64": (this, 0, sizeof 116( | * th is  ) ) ;  S Step #3 - "compile-afl-address-x86_64": amp l|  ^ Step #3 - "compile-afl-address-x86_64": e tmp:16:; note: Step #3 - "compile-afl-address-x86_64": |  ^ 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/sampler.h:98 :409: |  note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereSa Step #3 - "compile-afl-address-x86_64": m 98 | take_sample()ple() : data(),; ti Step #3 - "compile-afl-address-x86_64": m e| _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/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here/src/brpc/src/bvar/detail/sampler.h:116: Step #3 - "compile-afl-address-x86_64": 23 : note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here529 Step #3 - "compile-afl-address-x86_64": | 116 | Sample<_sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 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: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289/src/brpc/src/bvar/detail/percentile.h::16529:: 28: note: explicitly cast the pointer to silence this warningnote:  Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here  Step #3 - "compile-afl-address-x86_64": 529 | _s289a | m p l er = menmeswet (satmhpilser,_ ty0pe,( tshiizseo)f;( Step #3 - "compile-afl-address-x86_64": * | t ^h Step #3 - "compile-afl-address-x86_64": is)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/load_balancer_with_naming.cpp.o 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/mesalink_ssl_helper.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/sockets_service.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13:  warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, 132 | rh DEFINE_SMALL_ARRAY(uint32_t, tms._num_psa, rhms._npumle_ssa,m p64les, )6;3 warnings generated. Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": 4); 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/src/brpc/src/butil/macros.h:426::29426::29 : note: note: expanded from macro 'DEFINE_SMALL_ARRAY'expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_ 426 | char name#array[sizeof(Tp)# _*s tnaacmke_#a#r_rsatya[cks_iazreroafy_(sTipz)e ]*; n a m e # #\_ Step #3 - "compile-afl-address-x86_64": s t| ac ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~k Step #3 - "compile-afl-address-x86_64": _array_size/src/brpc/src/bvar/detail/percentile.h]:;364 : 36 :  \note:  Step #3 - "compile-afl-address-x86_64": 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": /src/brpc/src/bvar/detail/percentile.h:364:36: 364 | note:  in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here  Step #3 - "compile-afl-address-x86_64": get_int364e | r v a l _a t ( i ) . m e rggeet(_*irnhs._interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": tervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1 499 | )); 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_samp[ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/method_status.cpp.o Step #3 - "compile-afl-address-x86_64": ler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | c b1.mheragre(b 2); Step #3 - "compile-afl-address-x86_64": n | a ^ Step #3 - "compile-afl-address-x86_64": me##_st/src/brpc/src/bvar/window.ha:53:17: note: cin instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested herek_ Step #3 - "compile-afl-address-x86_64": array[sizeof(Tp )53 | * n a m e # # _ s t a c k _ a r_rvaayr_-s>iozpe(]);( v 1 , v 2\); Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": | |  ^ ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h::21929::112:: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": note: expanded from here 29 Step #3 - "compile-afl-address-x86_64": |  219 | retturn op(mp_v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :229:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 229 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :225:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 225 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/rpcz_service.cpp:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:162 warnings: generated. 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] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data()[ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/naming_service_thread.cpp.o Step #3 - "compile-afl-address-x86_64": , time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/rtmp_utils.cpp.o Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/ssl_helper.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here12 Step #3 - "compile-afl-address-x86_64": warnings generated. Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/tcmalloc_extension.cpp.o Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/usercode_backup_pool.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/status_service.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/vars_service.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/threads_service.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name#/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": #_st 132 | a ck _a r DEraFIyNE_SMALL_AR_sRAYize];(uint32_t, tmp, r hs \._num_sam Step #3 - "compile-afl-address-x86_64": | ples, 64); Step #3 - "compile-afl-address-x86_64": | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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": :364: 426 | char name##_stack36:_array [note: sizeof(Tp) * name##_stackin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here_array Step #3 - "compile-afl-address-x86_64": _size]; 364 | \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:364:36 : note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | g e t _ i n t e r v a gle_ta_ti(ni).mteerrgvea(*lr_hast.(_i)i.nmteerrgvea(l*sr[his].)_;in Step #3 - "compile-afl-address-x86_64": t e| rv ^a Step #3 - "compile-afl-address-x86_64": ls/src/brpc/src/bvar/detail/percentile.h:[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :229:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 229 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :225:1: 499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | rnote: eturn append_second(value, _op); Step #3 - "compile-afl-address-x86_64": | expanded from here Step #3 - "compile-afl-address-x86_64": 225 ^ Step #3 - "compile-afl-address-x86_64":  | /src/brpc/src/bvar/window.ht:m65p:_25s:t acknote: _ain instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested hererr Step #3 - "compile-afl-address-x86_64": ay _size Step #3 - "compile-afl-address-x86_64": | 65 | ^ 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:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/vlog_service.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/esp_message.cpp.o Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/event_dispatcher.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/global.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_siz/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": e 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_s Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": tack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13:[ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/grpc.cpp.o Step #3 - "compile-afl-address-x86_64": warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :160:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 160 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :156:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 156 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http2.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/compress.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.hIn file included from :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/src/brpc/src/brpc/builtin/version_service.cpp::19: Step #3 - "compile-afl-address-x86_64": In file included from 27: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/controller.h:37In file included from : Step #3 - "compile-afl-address-x86_64": /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.hIn file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": :26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 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/bvar/detail/percentile.h:132[ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_method.cpp.o Step #3 - "compile-afl-address-x86_64": :13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) *In file included from /src/brpc/src/brpc/details/http_message.cpp: n26: Step #3 - "compile-afl-address-x86_64": In file included from a/src/brpc/src/bthread/bthread.h:me32: Step #3 - "compile-afl-address-x86_64": #In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28#: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": _/src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": s 289 | t ack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64":  me/src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": ms 364 | et get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": (t 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": h53 | _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 | is , 0, sizeof(*retthis)); Step #3 - "compile-afl-address-x86_64": |  ^u Step #3 - "compile-afl-address-x86_64": r/src/brpc/src/bvar/detail/sampler.hn:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40op | Sample() : data(), ti(mve_us(0) {}1, v 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/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64": 168 |  /src/brpc/src/bvar/detail/sampler.h:116: 23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": In file included from |  ^ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h ca:ll_op529:/src/brpc/src/brpc/cluster_recover_policy.cpp28:: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": _ret24: Step #3 - "compile-afl-address-x86_64": urning_void(op, tmp, _data.sIn file included from /src/brpc/src/brpc/server_id.h 529 | ec o _sampler: 28=: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.hn:e25w: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.hs:a26m: Step #3 - "compile-afl-address-x86_64": pIn file included from l/src/brpc/src/bthread/bthread.he:r32_: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.hndt(i))y;p Step #3 - "compile-afl-address-x86_64": e( |  ^ Step #3 - "compile-afl-address-x86_64": this:/src/brpc/src/bvar/detail/series.h):;116:16:  Step #3 - "compile-afl-address-x86_64":  | 27note:  ^ Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here: Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | 116me | m set(this, 0, sizeof(*thi s  ) ); 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/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memsreturn Step #3 - "compile-afl-address-x86_64": ap 116 | Samplee tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": eof/src/brpc/src/bvar/detail/sampler.hp(:98:9:*ten hd_second(valiue, note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": _o 98sp)));; | 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*)  ta Step #3 - "compile-afl-address-x86_64": ke/src/brpc/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 | _ sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = newS saemrpiler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": esSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :242:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 242 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :238:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 238 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/channel.cpp:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _s[ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_status_code.cpp.o 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:289:/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]);16:  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: 289 | note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _vmarem->ops()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^e Step #3 - "compile-afl-address-x86_64": t(this,/src/brpc/src/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 | 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":  return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | 2 warnings generated. Step #3 - "compile-afl-address-x86_64": DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/input_messenger.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :162:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 162 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :194:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 194 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :190:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 190 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/memcache.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/health_check.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/health_check.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/usercode_backup_pool.cpp:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/usercode_backup_pool.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_message.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_pb_service_adaptor.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/couchbase.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/couchbase.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :33:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 33 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :29:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 29 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :173:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 173 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :169:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 169 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new Serie2 warnings generated. Step #3 - "compile-afl-address-x86_64": sSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :185:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 185 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :181:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 181 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 78%] 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/jemalloc_profiler.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(thi[ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/partition_channel.cpp.o Step #3 - "compile-afl-address-x86_64": s, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/event_dispatcher.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/load_balancer_with_naming.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/load_balancer_with_naming.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_task.cpp.o Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/auto_concurrency_limiter.cpp.o Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_return[ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_rpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": ing_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :153:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 153 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :149:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 149 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :16:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 16 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :12:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 12 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/naming_service_thread.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consistent_hashing_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :190:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 190 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :186:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 186 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/constant_concurrency_limiter.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consul_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.cpp:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_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/couchbase_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/crc32c_checksum.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^In file included from Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/details/method_status.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.h:/src/brpc/src/brpc/controller.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 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 499/src/brpc/src/brpc/versioned_ref_with_id.h | : 26: Step #3 - "compile-afl-address-x86_64": b1In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": .merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/window.h:53:17: /src/brpc/src/bthread/mutex.h:27note: : Step #3 - "compile-afl-address-x86_64": in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": In file included from 53/src/brpc/src/bvar/utils/lock_timer.h | : _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": | 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/call_op_returning_void.h:/src/brpc/src/bvar/detail/percentile.h29::28912::16 : note: warning: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | refirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]tu Step #3 - "compile-afl-address-x86_64": 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 here289 Step #3 - "compile-afl-address-x86_64": | memset168( | t h i s  ,  0ca,l l_soipzeo_rfetu(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": rning_v/src/brpc/src/bvar/detail/sampler.ho:i40d:(16o:p , tnote: mpin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": , _da40t | a . s e cSoanmdp(lei()) ):; d Step #3 - "compile-afl-address-x86_64": a t| a( ^) Step #3 - "compile-afl-address-x86_64": , time_us(/src/brpc/src/bvar/detail/series.h0:116): 16{:}  Step #3 - "compile-afl-address-x86_64":  note: | in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h116: | 116 : 23 :   note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested herere Step #3 - "compile-afl-address-x86_64": t urn appen116d | _s e c o n d ( v a l u e ,S a_mopple)<;T> Step #3 - "compile-afl-address-x86_64": tm p| ; ^ Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64":  |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25/src/brpc/src/bvar/detail/sampler.h:: 98:9:note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested herenote: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": 9865 | | t a k e _ s a m p l_es(e)r;ie Step #3 - "compile-afl-address-x86_64": s|  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28.: apnote: pein instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested herend Step #3 - "compile-afl-address-x86_64": ( _owner->get529_v | a l u e (  1  ) ) ;  Step #3 - "compile-afl-address-x86_64": _ s| am ^p Step #3 - "compile-afl-address-x86_64": ler = ne/src/brpc/src/bvar/window.hw:58 :s9a:m plenote: r_in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herety Step #3 - "compile-afl-address-x86_64": p e(this)58; |  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  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/src/brpc/src/bvar/detail/percentile.h:35::289 :16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :170:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 170 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :130:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 130 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :126:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 126 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dh.cpp.o Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/discovery_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/domain_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/periodic_task.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dynpart_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/periodic_naming_service.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_samplIn file included from e(); Step #3 - "compile-afl-address-x86_64": |  ^/src/brpc/src/brpc/input_messenger.cpp Step #3 - "compile-afl-address-x86_64": :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": /src/brpc/src/bvar/detail/percentile.h:529:In file included from 28/src/brpc/src/bthread/mutex.h:: 27: Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereIn file included from /src/brpc/src/bvar/utils/lock_timer.h: Step #3 - "compile-afl-address-x86_64": 28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 529 | _sampl 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": | e ^ Step #3 - "compile-afl-address-x86_64": r = new/src/brpc/src/bvar/detail/sampler.h :s40:a16m:p lernote: 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": _type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here289 | Step #3 - "compile-afl-address-x86_64": 529 | _sampler = n memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": ew sampler_ty p| e( ^ Step #3 - "compile-afl-address-x86_64": th i| s (void*)) Step #3 - "compile-afl-address-x86_64": ;2 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:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_authenticator.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. 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/file_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/giano_authenticator.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/gzip_compress.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.cpp:20: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/global.cpp:38: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/remote_file_naming_service.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hasher.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_arr/src/brpc/src/bvar/detail/percentile.h:132:13:a warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": y_size 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": ]; \ Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": |  ^/src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": :185:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 364 | 185 | tgmept__sitnatcekr_vaarlr_aayt_(sii)z.eme Step #3 - "compile-afl-address-x86_64": r g| e^( Step #3 - "compile-afl-address-x86_64": *rhs._i/src/brpc/src/bvar/detail/percentile.hn:te132r:v13a:l s[note: i]declared here); Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": | /src/brpc/src/butil/macros.h: ^425 Step #3 - "compile-afl-address-x86_64": :20: note: /src/brpc/src/bvar/detail/percentile.hexpanded from macro 'DEFINE_SMALL_ARRAY':499 Step #3 - "compile-afl-address-x86_64": : 12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 425 | 499 |  c o n s t  b1u.nmseirggnee(db2 )n;am Step #3 - "compile-afl-address-x86_64": e #| #_ ^s Step #3 - "compile-afl-address-x86_64": tack_arr/src/brpc/src/bvar/window.hay:_53s:i17z:e = note: (nin instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested heream Step #3 - "compile-afl-address-x86_64": e ##_size <= (53m | a x s i z e ) ? n a m e_#v#a_rs-i>ozpe( :) (v01, )v;2 )\; Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": | | ^ Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h::18129::112:: note: note: expanded from herein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": 29 | 181 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 |  | rettumrp_nst aacpkpe_nardr_asyec_osnidz(eva Step #3 - "compile-afl-address-x86_64": l ue, _op);|  Step #3 - "compile-afl-address-x86_64": ^ | Step #3 - "compile-afl-address-x86_64":  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http2_rpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http_rpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hulu_pbrpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/list_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/parallel_channel.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/nshead_pb_service_adaptor.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/auto_concurrency_limiter.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/auto_concurrency_limiter.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/partition_channel.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/locality_aware_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/domain_naming_service.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(2 warning*s generated. 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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/memcache_binary_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :141:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 141 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :137:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 137 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_s/src/brpc/src/bvar/detail/percentile.h:132:13: warning: izvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]e] Step #3 - "compile-afl-address-x86_64": ; 132 | \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:DE364F:INE36: _SMnote: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | A LL_ A RRAY (ugiet_innterval_t32at(i).merge(*rhs._intervals[_t, ti]);mp, Step #3 - "compile-afl-address-x86_64": | r ^hs. Step #3 - "compile-afl-address-x86_64": _n/src/brpc/src/bvar/detail/percentile.h:u499:m12_:s ampnote: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | lb1.merge(b2);e Step #3 - "compile-afl-address-x86_64": s|  ^, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here/src/brpc/src/butil/macros.h Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": :426|  ^:29: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h :29:note: 12expanded from macro 'DEFINE_SMALL_ARRAY':  Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 426 | | re tucrn haorp( vn1a,m ev#2#)_;st Step #3 - "compile-afl-address-x86_64": a c| k_ ^ Step #3 - "compile-afl-address-x86_64": array/src/brpc/src/bvar/detail/series.h[:si168:13:zeo f(note: in 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 2Laten warnings generated. Step #3 - "compile-afl-address-x86_64": cyRecoTpr) * dernBaamsee##_st a{ck_ Step #3 - "compile-afl-address-x86_64": arra| y_siz ^ Step #3 - "compile-afl-address-x86_64": e]; \ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132| :13: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  Step #3 - "compile-afl-address-x86_64": note: /src/brpc/src/bvar/detail/percentile.hinitializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": :364:36 : note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 364 | char name get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": # 499 | # b1.me_rgse(btac2)k_;array[ Step #3 - "compile-afl-address-x86_64": s iz|  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:eof53:(17Tp) :* name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :183:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 183 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxs ize) ? name##_siznote: e : 0); \ Step #3 - "compile-afl-address-x86_64": in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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":  53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :162:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 162 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/mongo_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 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: 2 warningsnote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": generated. Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116/src/brpc/src/bvar/detail/percentile.h:132:13::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->gwarning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": et_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here426 | char name##_stack_array[sizeof(Tp) * name##_stack_arr Step #3 - "compile-afl-address-x86_64": 58 | a y _ s iSzeer]i;e s S a m p l\er Step #3 - "compile-afl-address-x86_64": ( W| in ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~d Step #3 - "compile-afl-address-x86_64": owBase* /src/brpc/src/bvar/detail/percentile.ho:w364n:e36r:, R* vnote: arin 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/window.h:151:35: 364 |   note:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": get_interva151l_ | at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | ret _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samplesu, rn app64); 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": end426_ | s e c oncdh(avalue,r name##_st _op); Step #3 - "compile-afl-address-x86_64": ack _| array[ ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65sizeof(Tp) *:25:  namenote: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here##_stac Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->gk_array_size]; et_va \ Step #3 - "compile-afl-address-x86_64": | lue( ^ Step #3 - "compile-afl-address-x86_64": :2031)); Step #3 - "compile-afl-address-x86_64": :1:  |  ^ Step #3 - "compile-afl-address-x86_64": note: /src/brpc/src/bvar/window.h:58:9expanded from here Step #3 - "compile-afl-address-x86_64": 203 | tm: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | p_stack_a rray _sSerieize Step #3 - "compile-afl-address-x86_64": sSampl | ^er(Win Step #3 - "compile-afl-address-x86_64": do/src/brpc/src/bvar/detail/percentile.hw:B132a:s13e:* ow note: ner, declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20:R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | 35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | const unsigned n ame## _ser_stacies_sk_arrampleay_sir = zenew = (nameSer##_siiesSamzep <= (ler(thimaxs,s i_zvea)r )?; n Step #3 - "compile-afl-address-x86_64": a m| e# ^# Step #3 - "compile-afl-address-x86_64": _size : /src/brpc/src/bvar/latency_recorder.h:049:)7;: \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": ^ Step #3 - "compile-afl-address-x86_64":  :49199 | :c1l:a ss Lnote: aexpanded from herete Step #3 - "compile-afl-address-x86_64": ncyR ecorder199B | atmspe_ s{t Step #3 - "compile-afl-address-x86_64": | ac ^ Step #3 - "compile-afl-address-x86_64": k_arra/src/brpc/src/bvar/detail/percentile.hy:_132s:i13z:e  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": 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:32132: Step #3 - "compile-afl-address-x86_64": | In file included from /src/brpc/src/bthread/mutex.h DE:27FINE_SM: Step #3 - "compile-afl-address-x86_64": ALL_ARRAY(uint32_t, tmp, rhs._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": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": 426In file included from /src/brpc/src/bvar/latency_recorder.h | : ch26a: Step #3 - "compile-afl-address-x86_64": r name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :217:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 217 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :213:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 213 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/consul_naming_service.cpp:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_mcpack_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_protocol.cpp.o 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/public_pbrpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :191:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 191 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :187:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 187 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/discovery_naming_service.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32/src/brpc/src/bvar/detail/percentile.h:: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample<T> /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 132= tmp; Step #3 - "compile-afl-address-x86_64": | : ^ Step #3 - "compile-afl-address-x86_64": 13Get: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": P 132 | /src/brpc/src/bvar/detail/sampler.h:rotobufByteSize(meta);98 Step #3 - "compile-afl-address-x86_64": : 9| : ^ Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: 2note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": warnings generated. Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/randomized_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :223:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 223 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_authenticator.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/dynpart_load_balancer.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return aIn file included from p/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:p37: Step #3 - "compile-afl-address-x86_64": In file included from e/src/brpc/src/brpc/socket_id.h:25n: Step #3 - "compile-afl-address-x86_64": In file included from d/src/brpc/src/brpc/versioned_ref_with_id.h:26_: Step #3 - "compile-afl-address-x86_64": In file included from s/src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": eIn file included from c/src/brpc/src/bthread/mutex.h:o27n: Step #3 - "compile-afl-address-x86_64": dIn file included from (/src/brpc/src/bvar/utils/lock_timer.hv:a28l: Step #3 - "compile-afl-address-x86_64": ueIn file included from ,/src/brpc/src/bvar/latency_recorder.h _:o26: Step #3 - "compile-afl-address-x86_64": p)/src/brpc/src/bvar/detail/percentile.h;:289 Step #3 - "compile-afl-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 #3 - "compile-afl-address-x86_64":  ^ Step #3 - "compile-afl-address-x86_64": 289/src/brpc/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": memset( t65hi | s  ,  0  , si z e o f_s(e*rithis)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": es.app/src/brpc/src/bvar/detail/sampler.hen:d40(:_owner->get_va16l:u e(1note: 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 | Sample() : dat |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:a(), t58:i9me: _unote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": s(0)58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h: 49:7{: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression} Step #3 - "compile-afl-address-x86_64": |  ^ 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": Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num 116_samples, 64); 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::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new |  ^ Step #3 - "compile-afl-address-x86_64":  sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": :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:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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": In file included from /src/brpc/src/brpc/policy/gzip_compress.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/couchbase_protocol.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/couchbase_protocol.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :195:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 195 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :191:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 191 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/remote_file_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/round_robin_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :223:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 223 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/rtmp_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :225:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 225 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :221:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 221 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :189:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 189 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :185:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 185 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/snappy_compress.cpp.o Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/sofa_pbrpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/streaming_rpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/locality_aware_load_balancer.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/timeout_concurrency_limiter.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/ubrpc2pb_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | 2_series.a warnings generated. Step #3 - "compile-afl-address-x86_64": ppend(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :40:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 40 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :36:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 36 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/memcache_binary_protocol.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_randomized_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/nacos_naming_service.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/nacos_naming_service.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :223:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 223 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :110:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 110 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :106:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 106 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 |  char name/src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:#157#:_30s: twarning: acvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]k_array[sizeof( Step #3 - "compile-afl-address-x86_64": Tp) * name##_stack_a rray_size157]; | \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:364 :char36:  note: hin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested hereea Step #3 - "compile-afl-address-x86_64": der_and_m e364t | a [ 12 + m e t a _ s iz e ] ;  Step #3 - "compile-afl-address-x86_64": | ge ^~~~~~~~~~~~~~t Step #3 - "compile-afl-address-x86_64": _int/src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpper:v294a:l5:_ atnote: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #3 - "compile-afl-address-x86_64": (i).m 294 | e SeriarlgeizeHuluHeaderAndMeta(&res_buf, (*rhms._inteetar, rveals_ssi[zie ]+) ;at Step #3 - "compile-afl-address-x86_64": t ached_| si ^z Step #3 - "compile-afl-address-x86_64": e/src/brpc/src/bvar/detail/percentile.h:); Step #3 - "compile-afl-address-x86_64": 499 :| 12 ^: Step #3 - "compile-afl-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp: b1.merge(157:b2);35 Step #3 - "compile-afl-address-x86_64": | : note: initializer of 'meta_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64": 157 | /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 |  c_hvaarr- >hoep()(v1,a dve2r)_; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": a/src/brpc/src/bvar/detail/call_op_returning_void.h:n29d:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here_m Step #3 - "compile-afl-address-x86_64": et 29a | [ 1 2   r+e tmuertna_ op(v1, v2); Step #3 - "compile-afl-address-x86_64": | si ^ze]; Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": |  ^/src/brpc/src/bvar/detail/series.h:168 Step #3 - "compile-afl-address-x86_64": :13: /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:note: in 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": 155: 168 | call_op_ret20: 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": urning_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 here2 warning Step #3 - "compile-afl-address-x86_64": s generated. Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :185:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 185 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :181:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 181 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_round_robin_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | In file included from DEFINE_SMALL_ARRAY(uint32_t/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": tmp, rhs.In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": _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 | char289 | n a m e ##_stack_array memset(this, [0sizeo, sizeof(*thisf(Tp) * na)me)#;#_ Step #3 - "compile-afl-address-x86_64": s t| ac ^k Step #3 - "compile-afl-address-x86_64": _array_s/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": ize]; \ Step #3 - "compile-afl-address-x86_64": 40 | |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36:  Sample() note: : in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": data( ), time_us(0) {}364 |  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": g 116 | et_interval_at(i ) .merg Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: :529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b 1 _.smaerge(b2)mpler; = Step #3 - "compile-afl-address-x86_64": ne | w sam ^ple Step #3 - "compile-afl-address-x86_64": r_t/src/brpc/src/bvar/window.hype(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :53:17: note: /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 |  retur289 | memset(this, n 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 |  0, cal silz_ope_roeftu(r*nthisin)g)_;vo Step #3 - "compile-afl-address-x86_64": i d| (op, tmp, _data.seco ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": nd(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 | In file included from /src/brpc/src/brpc/policy/randomized_load_balancer.cpp: _series.append(_ow22: Step #3 - "compile-afl-address-x86_64": nerIn file included from /src/brpc/src/brpc/socket.h->ge:34: Step #3 - "compile-afl-address-x86_64": tIn file included from _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/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": : Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h 58 | :32: Step #3 - "compile-afl-address-x86_64": In file included from SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE/src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: _Snote: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested hereMALL Step #3 - "compile-afl-address-x86_64": _ 40 | ARRAY( u i n t3S2_t, tmp,ample rhs() : ._dnautma_(samples, 6), t4im); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": e_us(0) {/src/brpc/src/butil/macros.h} Step #3 - "compile-afl-address-x86_64": :426| :42:  ^note: Step #3 - "compile-afl-address-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY'/src/brpc/src/bvar/detail/sampler.h:116:23:  Step #3 - "compile-afl-address-x86_64": 426 | note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested herech Step #3 - "compile-afl-address-x86_64": a 116 | r name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  Sample t ^mp Step #3 - "compile-afl-address-x86_64": ; 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_siz/src/brpc/src/bvar/detail/sampler.he: Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: 98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #3 - "compile-afl-address-x86_64": 425 | take_sampl const unsigned name##_se(); Step #3 - "compile-afl-address-x86_64": t | ac ^k Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: _array_sizenote: =in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here (n Step #3 - "compile-afl-address-x86_64": ame## _s529i | z e <= ( m a x s i z e ) _? nasampmleer# #= new _size : 0)s;a m\pl Step #3 - "compile-afl-address-x86_64": e r| _t ^y Step #3 - "compile-afl-address-x86_64": pe(t:h215is:1: );note: expanded from here Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": | 215 | t ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:mp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/nshead_protocol.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/mongo_protocol.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Samp/src/brpc/src/bvar/detail/percentile.h:le(289): : data(), time_us(016:)  {note: }explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 289 |  /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 | m Sampleemse tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:t(98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herethis, 0, sizeof(* 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":  98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :223:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 223 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/remote_file_naming_service.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: /src/brpc/src/bvar/detail/series.hwarning: :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: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | 132 _series | .a ppend(_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: DEFINE_SMALL_ARRAY(uintnote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here32_t, tmp, Step #3 - "compile-afl-address-x86_64": r hs._num_s58a | m p l e s ,  6S4eries)S;am Step #3 - "compile-afl-address-x86_64": p l| er ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~( Step #3 - "compile-afl-address-x86_64": WindowBase*/src/brpc/src/butil/macros.h owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :426:29:/src/brpc/src/bvar/window.h :note: 151:expanded from macro 'DEFINE_SMALL_ARRAY'35: Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | 426 |  c h a r_s eries_nsaamem#p#l_ers t=a ck_naerwra ySe[riseiszSeaomfpl(eTrp() t*h insame,# #__vsatra)c;k_ Step #3 - "compile-afl-address-x86_64": a r| ra ^y Step #3 - "compile-afl-address-x86_64": _size]; /src/brpc/src/bvar/latency_recorder.h : \49:7 Step #3 - "compile-afl-address-x86_64": : |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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": /src/brpc/src/bvar/detail/percentile.h:364:36:49 note: | in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herecl Step #3 - "compile-afl-address-x86_64": a ss LatencyReco364rd | e r B a s e {  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": get_interval_at/src/brpc/src/bvar/detail/percentile.h(i:)132.:m13e:r genote: (*rhsinitializer of 'tmp_stack_array_size' is not a constant expression._i Step #3 - "compile-afl-address-x86_64": n tervals[i]); Step #3 - "compile-afl-address-x86_64": | 132 ^ | Step #3 - "compile-afl-address-x86_64":   /src/brpc/src/bvar/detail/percentile.h : 499: 12 :D EFInote: Nin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested hereE_ Step #3 - "compile-afl-address-x86_64": S MALL_AR499R | A Y ( u i n t 3 2b_1t.,m etrmgpe,( br2h)s;._num Step #3 - "compile-afl-address-x86_64": _| sa ^m Step #3 - "compile-afl-address-x86_64": ples,/src/brpc/src/bvar/window.h :6534:17):;  Step #3 - "compile-afl-address-x86_64":  note: | in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/butil/macros.h:426:5342 | :   note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #3 - "compile-afl-address-x86_64": _var->op()(v1, 426v | 2 ) ;  Step #3 - "compile-afl-address-x86_64": |  ^c Step #3 - "compile-afl-address-x86_64": har name#/src/brpc/src/bvar/detail/call_op_returning_void.h#_s:t29a:c12k:_ anote: rrin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hereay[ Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64":  | s ^i Step #3 - "compile-afl-address-x86_64": zeof(Tp) * n/src/brpc/src/bvar/detail/series.ha:m168e#:#13_:stack_a rraynote: _sin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested hereize] Step #3 - "compile-afl-address-x86_64": ; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219168: | 1 : note:  expanded from here  Step #3 - "compile-afl-address-x86_64": call_op_return219in | gt_vmopi_ds(toapc,k _tamrpr,a y__dsaitzae. Step #3 - "compile-afl-address-x86_64": s e| con^d Step #3 - "compile-afl-address-x86_64": (i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h/src/brpc/src/bvar/detail/percentile.h::116:16:132 :13:note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herenote:  Step #3 - "compile-afl-address-x86_64": declared here  Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:11620 | :   note:  expanded from macro 'DEFINE_SMALL_ARRAY'  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": 425 | co/src/brpc/src/bvar/window.hn:s65t:25 : unsnote: igin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested herene Step #3 - "compile-afl-address-x86_64": d 65 | n a m e # # _ s t_ascekr_iaersra.ya_pspiezned (=_ o(wnnaemre##_-si>zgee t<_=v a(lumea(xsi1ze))) ;? Step #3 - "compile-afl-address-x86_64": | n ^a Step #3 - "compile-afl-address-x86_64": me##_size : 0);/src/brpc/src/bvar/window.h :\58: Step #3 - "compile-afl-address-x86_64": 9: | note: ^ Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 |   Serie:s215S:a1m:p ler(note: Wiexpanded from herend Step #3 - "compile-afl-address-x86_64": o wBase* owne215 | trm,p _Rs*t avcakr_)ar Step #3 - "compile-afl-address-x86_64": r a|  ^ Step #3 - "compile-afl-address-x86_64": y_size/src/brpc/src/bvar/window.h:151: Step #3 - "compile-afl-address-x86_64": 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 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_ar[ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/progressive_attachment.cpp.o Step #3 - "compile-afl-address-x86_64": ray[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :162:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/round_robin_load_balancer.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp)[ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/protocol.cpp.o Step #3 - "compile-afl-address-x86_64": * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/snappy_compress.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :189:1:2 warning s generated. Step #3 - "compile-afl-address-x86_64": note: expanded from here Step #3 - "compile-afl-address-x86_64": 189 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :185:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 185 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/block_pool.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/rdma/rdma_endpoint.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/redis_protocol.cpp:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, siz2 warnings generated. Step #3 - "compile-afl-address-x86_64": eof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_helper.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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :223:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 223 | tmp_st[ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis.cpp.o Step #3 - "compile-afl-address-x86_64": ack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1447:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 1447 | char buf[header_len + 4/*extended ts*/]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1447:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #3 - "compile-afl-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1489:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 1489 | char buf[header_len + 4/*extended ts*/]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1489:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #3 - "compile-afl-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1531:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 1531 | char buf[header_len + 4/*extended ts*/]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1531:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #3 - "compile-afl-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_command.cpp.o 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": In file included from /src/brpc/src/brpc/policy/streaming_rpc_protocol.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/streaming_rpc_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_reply.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:144:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 144 | char header_and_meta[24 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:144:35: note: initializer of 'meta_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 144 | char header_and_meta[24 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:142:20: note: declared here Step #3 - "compile-afl-address-x86_64": 142 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/reloadable_flags.cpp.o Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/restful.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 364 | 426 |  c h a r g enta_mien#t#e_rsvtaalc_ka_ta(rir)a.ym[ersgiez(e*orfhs(.T_pi)n t*e rnvaamles#[#i_]s)t;ac Step #3 - "compile-afl-address-x86_64": k _| ar ^r Step #3 - "compile-afl-address-x86_64": ay_size]; /src/brpc/src/bvar/detail/percentile.h:499:12 : \note: Step #3 - "compile-afl-address-x86_64":  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": /src/brpc/src/bvar/detail/percentile.h:364:36: In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.cppnote: :18in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.h Step #3 - "compile-afl-address-x86_64": :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 364/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 ge/src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": t_ i499n | teIn file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": rval_at(i) b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": .m/src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": e 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": r/src/brpc/src/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": g 29 | return op(v1, v2e(*r 289 | h 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: )s;note: ._ Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herei n| Step #3 - "compile-afl-address-x86_64": t e ^r Step #3 - "compile-afl-address-x86_64": vals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 40 | /src/brpc/src/bvar/detail/percentile.h : 499 :S12a:m plnote: e(in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here) 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": 499 | /src/brpc/src/bvar/detail/sampler.h/src/brpc/src/bvar/detail/series.h : 116:b:116823.::m13 e:r gnote: e(note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested hereb2) Step #3 - "compile-afl-address-x86_64": ; in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 116 | /src/brpc/src/bvar/window.h : 53 : 17 :   168note:  | in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here S a Step #3 - "compile-afl-address-x86_64": m p l e < T ca> 53t | mlpl; _ o Step #3 - "compile-afl-address-x86_64": p _| r e ^ t Step #3 - "compile-afl-address-x86_64": u r n i n g _ v o_i/src/brpc/src/bvar/detail/sampler.hvd:a(98ro:-p9>,:o pt(m)pnote: (,v in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here1_,d a Step #3 - "compile-afl-address-x86_64": t av.2se)c;on Step #3 - "compile-afl-address-x86_64": d (| i98) ^ | ) Step #3 - "compile-afl-address-x86_64": ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h: 29t:a12k:e _sa/src/brpc/src/bvar/detail/series.hnote: m:pin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here116l:e Step #3 - "compile-afl-address-x86_64": 16( :) ; Step #3 - "compile-afl-address-x86_64": note: | in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here29 ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64":   | re/src/brpc/src/bvar/detail/percentile.ht:u529r116:n | 28 : o p ( note: v 1 in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here,   Step #3 - "compile-afl-address-x86_64": vr 2e)t;ur Step #3 - "compile-afl-address-x86_64": n | a ^p529 Step #3 - "compile-afl-address-x86_64": | p e n d _ s e c o n/src/brpc/src/bvar/detail/series.h d: (168 v:_a13sl:au mep,l note: e_roin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here p=) ; Step #3 - "compile-afl-address-x86_64":  n Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": ew samp168le | /src/brpc/src/bvar/window.hr :_ 65t :y 25p :e (  t note: h i in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested heres c)a Step #3 - "compile-afl-address-x86_64": ;l l_ Step #3 - "compile-afl-address-x86_64": o p| _r ^e Step #3 - "compile-afl-address-x86_64": turni65n | g _ v o i d ( o p , t m p , __dsatear.iseesc.oanpdp(ein)d)(;_ow Step #3 - "compile-afl-address-x86_64": n e| r- ^>g Step #3 - "compile-afl-address-x86_64": et_value(1/src/brpc/src/bvar/detail/series.h):)116;:16 Step #3 - "compile-afl-address-x86_64": : |  ^note: /src/brpc/src/bvar/detail/percentile.h Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here:289: Step #3 - "compile-afl-address-x86_64": 16 : /src/brpc/src/bvar/window.hnote: 116:explicitly cast the pointer to silence this warning | 58 :9:   note:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here r Step #3 - "compile-afl-address-x86_64": e turn append_58s | e c o n d ( v a lSueer,i e_soSpa Step #3 - "compile-afl-address-x86_64": )m; pl Step #3 - "compile-afl-address-x86_64": e r| (W ^i Step #3 - "compile-afl-address-x86_64": ndowBase* own/src/brpc/src/bvar/window.he:r65, :R25*: varnote: )in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": | Step #3 - "compile-afl-address-x86_64":  ^ Step #3 - "compile-afl-address-x86_64": 289 | 65 /src/brpc/src/bvar/window.h | : 151 :m35em:s et(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":  _series.append(_ownernote: ->gin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": et_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h: 15158: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:  _sin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested hereerie Step #3 - "compile-afl-address-x86_64": s_sampler = new 151 |  Ser _seiriees_sasSampler(tmhis, _var); Step #3 - "compile-afl-address-x86_64": p|  ^ Step #3 - "compile-afl-address-x86_64": ler = /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": 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 49 | cl Step #3 - "compile-afl-address-x86_64": a 49 | ss LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": class LatencyRecor/src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expressionderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :188:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 188 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :184:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 184 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: 2note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": warnings generated. Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :217:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 217 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :213:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 213 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/retry_policy.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_dump.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_pb_message_factory.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rtmp.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/weighted_randomized_load_balancer.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_request.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_response.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server.cpp.o Step #3 - "compile-afl-address-x86_64": 4 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server_id.cpp.o Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/simple_data_pool.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return aIn file included from /src/brpc/src/brpc/policy/weighted_round_robin_load_balancer.cppppend_second(value:, _op);22: Step #3 - "compile-afl-address-x86_64": In file included from Step #3 - "compile-afl-address-x86_64": |  ^/src/brpc/src/brpc/socket.h Step #3 - "compile-afl-address-x86_64": :34: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: In file included from /src/brpc/src/brpc/details/ssl_helper.hnote: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": :33 65 | : 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": seIn file included from r/src/brpc/src/bvar/latency_recorder.hi:e26s: Step #3 - "compile-afl-address-x86_64": .ap/src/brpc/src/bvar/detail/percentile.hp:e289n:d16(:_ ownewarning: r->first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]get Step #3 - "compile-afl-address-x86_64": _ 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": 289/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": me 151 | m s e _sterie(s_samplter =h neiw SseriesSam,pler (this,0 _var);, Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:s49i:z7e:o fnote: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here(* Step #3 - "compile-afl-address-x86_64": t 49 | chlisass )L)a;te Step #3 - "compile-afl-address-x86_64": ncyRe c| order ^B Step #3 - "compile-afl-address-x86_64": ase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40/src/brpc/src/bvar/detail/percentile.h:132::13: 16: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here 132 | Step #3 - "compile-afl-address-x86_64": DEFIN40E_S | M A L L _SAaRRmAYp(ulinet(3)2 :_ td,ata(), t itmmep_, urs(hs0._num_samples, 6)4 {)}; 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/sampler.h/src/brpc/src/butil/macros.h::116426::2342:: note: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested hereexpanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": 426 | 116 | c h a r  n a m e # # _Ssatmapclke_r atym[p;si Step #3 - "compile-afl-address-x86_64": z e| of ^ Step #3 - "compile-afl-address-x86_64": (Tp) */src/brpc/src/bvar/detail/sampler.h :n98a:m9e:# #_stnote: acin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herek_ Step #3 - "compile-afl-address-x86_64": arra y_siz98e | ] ; \ t Step #3 - "compile-afl-address-x86_64": a k| e_ ^sam Step #3 - "compile-afl-address-x86_64": p:219:1: lenote: ()expanded from here; Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 219 | /src/brpc/src/bvar/detail/percentile.ht:mp_529s:t28a:c k_arrnote: ayin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here_si Step #3 - "compile-afl-address-x86_64": z e Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 529 |  /src/brpc/src/bvar/detail/percentile.h : 132 : 13 :  _note: sadeclared heremp Step #3 - "compile-afl-address-x86_64": ler /src/brpc/src/butil/macros.h=: 425:n20ew s:a mplnote: erexpanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": _ type(425th | i s  ) ;c Step #3 - "compile-afl-address-x86_64": o n| st ^ Step #3 - "compile-afl-address-x86_64": unsigned name##_stack_array_size = (name##_/src/brpc/src/bvar/detail/percentile.hs:i289z:e16 :< = (note: maexplicitly cast the pointer to silence this warningxsi Step #3 - "compile-afl-address-x86_64": z e) ? name##_size : 0)289; | \  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": memset:(215:t1h:i s,note: expanded from here0 Step #3 - "compile-afl-address-x86_64": , sizeof(*this)); Step #3 - "compile-afl-address-x86_64": 215 |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, 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": RIn file included from * /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: 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": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = 289new SeriesSampler | (t his, mems_var); Step #3 - "compile-afl-address-x86_64": et(th is|  ^ Step #3 - "compile-afl-address-x86_64": , 0,/src/brpc/src/bvar/latency_recorder.h sizeof(*this));:49:7:  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here/src/brpc/src/bvar/detail/sampler.h:40: Step #3 - "compile-afl-address-x86_64": 16: note:  49 | in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested hereclass Step #3 - "compile-afl-address-x86_64": 40 | Latenc yRecorde r BSase {amp Step #3 - "compile-afl-address-x86_64": l|  ^ Step #3 - "compile-afl-address-x86_64": e() : data(), ti/src/brpc/src/bvar/detail/percentile.h:me_us(0132):13:  note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | { } DEFINE_SMALL_ARRAY 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": u/src/brpc/src/bvar/detail/sampler.h:int398:2_t,9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | t mp, rhs._n um_ samples,  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:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler ^_typ Step #3 - "compile-afl-address-x86_64": e(t/src/brpc/src/butil/macros.h:his426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64":  426 | )ch; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": ar name##_stack_array[sizeof(Tp)/src/brpc/src/bvar/detail/percentile.h:289 * name##_stack_array_size]; \: Step #3 - "compile-afl-address-x86_64": 16: note: explicitly cast the pointer to silence this warning 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": 289 | 223 | tmp_stack_arr ay_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned n ame##_stack_array_size = (name# mem#_size :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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket_map.cpp.o Step #3 - "compile-afl-address-x86_64": [ 97%] 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": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ssl_options.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/stream.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :182:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 182 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :178:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 178 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :223:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 223 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/trackme.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 642) 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/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ts.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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/uri.cpp.o Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.cpp:42: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :195:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 195 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :191:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 191 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/server_id.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/server_id.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/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/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :194:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 194 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :190:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 190 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 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/selective_channel.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :14:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 14 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :10:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 10 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :200:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 200 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :196:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 196 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. 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/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :162:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 162 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.cpp:42: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/event_dispatcher.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/span.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/rtmp.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/server.cpp:2004:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 2004 | char buf[fullname_len]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/server.cpp:2004:18: note: initializer of 'fullname_len' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/server.cpp:2001:18: note: declared here Step #3 - "compile-afl-address-x86_64": 2001 | const size_t fullname_len = service_name.size() + 1 + method_name.size(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :183:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 183 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :179:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 179 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :162:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 162 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :182:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 182 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :178:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 178 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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": In file included from /src/brpc/src/brpc/stream.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/stream.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/trackme.cpp:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/server.cpp:36: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :185:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 185 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :181:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 181 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/ts.cpp:38: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/rtmp_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :206:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 206 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :202:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 202 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :204:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 204 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :200:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 200 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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": 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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 4 warnings generated. Step #3 - "compile-afl-address-x86_64": 7 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX static library ../output/lib/libbrpc-static-debug.a Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_butil.dir/fuzzing/fuzz_butil.cpp.o Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_butil Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_butil Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 16%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_esp.dir/fuzzing/fuzz_esp.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_esp.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :189:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 189 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :185:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 185 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_esp Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_esp Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 16%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_hpack.dir/fuzzing/fuzz_hpack.cpp.o Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_hpack Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_hpack Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 16%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_http.dir/fuzzing/fuzz_http.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_http.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :40:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 40 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :36:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 36 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_http Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_http Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 15%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [ 97%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/fuzz_hulu.dir/fuzzing/fuzz_hulu.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_hulu.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :242:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 242 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :238:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 238 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_hulu Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_hulu Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 16%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_json.dir/fuzzing/fuzz_json.cpp.o Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_json Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_json Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 16%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_redis.dir/fuzzing/fuzz_redis.cpp.o Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_redis Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_redis Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 16%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_shead.dir/fuzzing/fuzz_shead.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_shead.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/nshead_pb_service_adaptor.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :40:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 40 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :36:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 36 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_shead Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_shead Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 16%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_sofa.dir/fuzzing/fuzz_sofa.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_sofa.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :222:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 222 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :218:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 218 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_sofa Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_sofa Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 15%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [ 97%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/fuzz_uri.dir/fuzzing/fuzz_uri.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_uri.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/rtmp.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :195:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 195 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :191:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 191 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_uri Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_uri Step #3 - "compile-afl-address-x86_64": + cp test/fuzz_butil test/fuzz_esp test/fuzz_hpack test/fuzz_http test/fuzz_hulu test/fuzz_json test/fuzz_redis test/fuzz_shead test/fuzz_sofa test/fuzz_uri /workspace/out/afl-address-x86_64/ Step #3 - "compile-afl-address-x86_64": + pushd /lib/x86_64-linux-gnu/ Step #3 - "compile-afl-address-x86_64": /lib/x86_64-linux-gnu /src/brpc/build Step #3 - "compile-afl-address-x86_64": + mkdir -p /workspace/out/afl-address-x86_64/lib/ Step #3 - "compile-afl-address-x86_64": + cp libgflags.a libgflags.so libgflags.so.2.2 libgflags.so.2.2.2 libgflags_nothreads.a libgflags_nothreads.so libgflags_nothreads.so.2.2 libgflags_nothreads.so.2.2.2 libprotobuf-lite.a libprotobuf-lite.so libprotobuf-lite.so.17 libprotobuf-lite.so.17.0.0 libprotobuf.a libprotobuf.so libprotobuf.so.17 libprotobuf.so.17.0.0 libleveldb.a libleveldb.so libleveldb.so.1.22.0 libleveldb.so.1d libprotoc.a libprotoc.so libprotoc.so.17 libprotoc.so.17.0.0 libsnappy-shared.a libsnappy.a libsnappy.so libsnappy.so.1 libsnappy.so.1.1.8 /workspace/out/afl-address-x86_64/lib/. Step #3 - "compile-afl-address-x86_64": + popd Step #3 - "compile-afl-address-x86_64": /src/brpc/build Step #3 - "compile-afl-address-x86_64": + pushd /src/brpc/test/fuzzing Step #3 - "compile-afl-address-x86_64": /src/brpc/test/fuzzing /src/brpc/build Step #3 - "compile-afl-address-x86_64": + zip /workspace/out/afl-address-x86_64/fuzz_json_seed_corpus.zip fuzz_json_seed_corpus/info1.json fuzz_json_seed_corpus/info2.json fuzz_json_seed_corpus/info3.json Step #3 - "compile-afl-address-x86_64": adding: fuzz_json_seed_corpus/info1.json (deflated 10%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_json_seed_corpus/info2.json (deflated 17%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_json_seed_corpus/info3.json (deflated 44%) Step #3 - "compile-afl-address-x86_64": + zip /workspace/out/afl-address-x86_64/fuzz_uri_seed_corpus.zip fuzz_uri_seed_corpus/data_1.rtmp fuzz_uri_seed_corpus/data_1.uri fuzz_uri_seed_corpus/data_2.uri Step #3 - "compile-afl-address-x86_64": adding: fuzz_uri_seed_corpus/data_1.rtmp (stored 0%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_uri_seed_corpus/data_1.uri (stored 0%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_uri_seed_corpus/data_2.uri (stored 0%) Step #3 - "compile-afl-address-x86_64": + zip /workspace/out/afl-address-x86_64/fuzz_redis_seed_corpus.zip fuzz_redis_seed_corpus/command_parser.redis fuzz_redis_seed_corpus/request.redis Step #3 - "compile-afl-address-x86_64": adding: fuzz_redis_seed_corpus/command_parser.redis (deflated 26%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_redis_seed_corpus/request.redis (stored 0%) Step #3 - "compile-afl-address-x86_64": + zip /workspace/out/afl-address-x86_64/fuzz_http_seed_corpus.zip fuzz_http_seed_corpus/http_request.http fuzz_http_seed_corpus/http_request_v2.http Step #3 - "compile-afl-address-x86_64": adding: fuzz_http_seed_corpus/http_request.http (deflated 19%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_http_seed_corpus/http_request_v2.http (deflated 35%) Step #3 - "compile-afl-address-x86_64": + zip /workspace/out/afl-address-x86_64/fuzz_butil_seed_corpus.zip fuzz_butil_seed_corpus/base64_decoded.txt fuzz_butil_seed_corpus/base64_encoded.txt fuzz_butil_seed_corpus/crc32c.data Step #3 - "compile-afl-address-x86_64": adding: fuzz_butil_seed_corpus/base64_decoded.txt (stored 0%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_butil_seed_corpus/base64_encoded.txt (stored 0%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_butil_seed_corpus/crc32c.data (deflated 63%) Step #3 - "compile-afl-address-x86_64": + zip /workspace/out/afl-address-x86_64/fuzz_hpack_seed_corpus.zip fuzz_hpack_seed_corpus/header_never_indexed.hpack fuzz_hpack_seed_corpus/header_with_indexing.hpack fuzz_hpack_seed_corpus/header_without_indexing.hpack fuzz_hpack_seed_corpus/requests_without_huffman.hpack fuzz_hpack_seed_corpus/responses_without_huffman.hpack Step #3 - "compile-afl-address-x86_64": adding: fuzz_hpack_seed_corpus/header_never_indexed.hpack (stored 0%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_hpack_seed_corpus/header_with_indexing.hpack (deflated 15%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_hpack_seed_corpus/header_without_indexing.hpack (stored 0%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_hpack_seed_corpus/requests_without_huffman.hpack (deflated 10%) Step #3 - "compile-afl-address-x86_64": adding: fuzz_hpack_seed_corpus/responses_without_huffman.hpack (deflated 1%) Step #3 - "compile-afl-address-x86_64": + popd Step #3 - "compile-afl-address-x86_64": /src/brpc/build Finished Step #3 - "compile-afl-address-x86_64" Starting Step #4 - "build-check-afl-address-x86_64" Step #4 - "build-check-afl-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #4 - "build-check-afl-address-x86_64": Unable to find image 'gcr.io/oss-fuzz-base/base-runner:latest' locally Step #4 - "build-check-afl-address-x86_64": latest: Pulling from oss-fuzz-base/base-runner Step #4 - "build-check-afl-address-x86_64": b549f31133a9: Already exists Step #4 - "build-check-afl-address-x86_64": b880dc731500: Already exists Step #4 - "build-check-afl-address-x86_64": 82041dc1a4fa: Already exists Step #4 - "build-check-afl-address-x86_64": f6f9908990c2: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": a01b4cc35442: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 14ecfc0ec653: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": d84b66083db9: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 61836e9deac7: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 1f3606abf545: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 0a296b7504af: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": a6da47b51e29: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 7aedb9e97bc5: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 34e73298de3c: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": c96cc9852dd0: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 5ef855770972: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 59d8edc5c5c1: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 7625284134c6: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 0e6ce95bed55: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 6dfe0c8bf399: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 96515525e0c0: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 01e047d299ca: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": d1548cd4b8ba: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 9667f69f6584: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": c474e10428ad: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 03b17cb6f2dd: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 042a6eb9cc1e: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 4f467d64479a: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": c96cc9852dd0: Waiting Step #4 - "build-check-afl-address-x86_64": 5ef855770972: Waiting Step #4 - "build-check-afl-address-x86_64": 59d8edc5c5c1: Waiting Step #4 - "build-check-afl-address-x86_64": 7625284134c6: Waiting Step #4 - "build-check-afl-address-x86_64": 01e047d299ca: Waiting Step #4 - "build-check-afl-address-x86_64": 0e6ce95bed55: Waiting Step #4 - "build-check-afl-address-x86_64": d1548cd4b8ba: Waiting Step #4 - "build-check-afl-address-x86_64": 042a6eb9cc1e: Waiting Step #4 - "build-check-afl-address-x86_64": 6dfe0c8bf399: Waiting Step #4 - "build-check-afl-address-x86_64": 96515525e0c0: Waiting Step #4 - "build-check-afl-address-x86_64": 9667f69f6584: Waiting Step #4 - "build-check-afl-address-x86_64": 03b17cb6f2dd: Waiting Step #4 - "build-check-afl-address-x86_64": c474e10428ad: Waiting Step #4 - "build-check-afl-address-x86_64": 4f467d64479a: Waiting Step #4 - "build-check-afl-address-x86_64": a6da47b51e29: Waiting Step #4 - "build-check-afl-address-x86_64": 7aedb9e97bc5: Waiting Step #4 - "build-check-afl-address-x86_64": 0a296b7504af: Waiting Step #4 - "build-check-afl-address-x86_64": 34e73298de3c: Waiting Step #4 - "build-check-afl-address-x86_64": 61836e9deac7: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 61836e9deac7: Download complete Step #4 - "build-check-afl-address-x86_64": 14ecfc0ec653: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 14ecfc0ec653: Download complete Step #4 - "build-check-afl-address-x86_64": f6f9908990c2: Download complete Step #4 - "build-check-afl-address-x86_64": a01b4cc35442: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": a01b4cc35442: Download complete Step #4 - "build-check-afl-address-x86_64": d84b66083db9: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": d84b66083db9: Download complete Step #4 - "build-check-afl-address-x86_64": a6da47b51e29: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": a6da47b51e29: Download complete Step #4 - "build-check-afl-address-x86_64": 0a296b7504af: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 0a296b7504af: Download complete Step #4 - "build-check-afl-address-x86_64": 7aedb9e97bc5: Download complete Step #4 - "build-check-afl-address-x86_64": f6f9908990c2: Pull complete Step #4 - "build-check-afl-address-x86_64": 5ef855770972: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 5ef855770972: Download complete Step #4 - "build-check-afl-address-x86_64": 59d8edc5c5c1: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 59d8edc5c5c1: Download complete Step #4 - "build-check-afl-address-x86_64": c96cc9852dd0: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": c96cc9852dd0: Download complete Step #4 - "build-check-afl-address-x86_64": 0e6ce95bed55: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 0e6ce95bed55: Download complete Step #4 - "build-check-afl-address-x86_64": 96515525e0c0: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 96515525e0c0: Download complete Step #4 - "build-check-afl-address-x86_64": 1f3606abf545: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 1f3606abf545: Download complete Step #4 - "build-check-afl-address-x86_64": a01b4cc35442: Pull complete Step #4 - "build-check-afl-address-x86_64": c474e10428ad: Download complete Step #4 - "build-check-afl-address-x86_64": 14ecfc0ec653: Pull complete Step #4 - "build-check-afl-address-x86_64": 34e73298de3c: Download complete Step #4 - "build-check-afl-address-x86_64": 9667f69f6584: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 9667f69f6584: Download complete Step #4 - "build-check-afl-address-x86_64": 4f467d64479a: Download complete Step #4 - "build-check-afl-address-x86_64": 042a6eb9cc1e: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 042a6eb9cc1e: Download complete Step #4 - "build-check-afl-address-x86_64": 03b17cb6f2dd: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 03b17cb6f2dd: Download complete Step #4 - "build-check-afl-address-x86_64": d84b66083db9: Pull complete Step #4 - "build-check-afl-address-x86_64": 61836e9deac7: Pull complete Step #4 - "build-check-afl-address-x86_64": d1548cd4b8ba: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": d1548cd4b8ba: Download complete Step #4 - "build-check-afl-address-x86_64": 7625284134c6: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 7625284134c6: Download complete Step #4 - "build-check-afl-address-x86_64": 6dfe0c8bf399: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 6dfe0c8bf399: Download complete Step #4 - "build-check-afl-address-x86_64": 1f3606abf545: Pull complete Step #4 - "build-check-afl-address-x86_64": 0a296b7504af: Pull complete Step #4 - "build-check-afl-address-x86_64": a6da47b51e29: Pull complete Step #4 - "build-check-afl-address-x86_64": 7aedb9e97bc5: Pull complete Step #4 - "build-check-afl-address-x86_64": 34e73298de3c: Pull complete Step #4 - "build-check-afl-address-x86_64": c96cc9852dd0: Pull complete Step #4 - "build-check-afl-address-x86_64": 5ef855770972: Pull complete Step #4 - "build-check-afl-address-x86_64": 59d8edc5c5c1: Pull complete Step #4 - "build-check-afl-address-x86_64": 7625284134c6: Pull complete Step #4 - "build-check-afl-address-x86_64": 0e6ce95bed55: Pull complete Step #4 - "build-check-afl-address-x86_64": 6dfe0c8bf399: Pull complete Step #4 - "build-check-afl-address-x86_64": 96515525e0c0: Pull complete Step #4 - "build-check-afl-address-x86_64": 01e047d299ca: Pull complete Step #4 - "build-check-afl-address-x86_64": d1548cd4b8ba: Pull complete Step #4 - "build-check-afl-address-x86_64": 9667f69f6584: Pull complete Step #4 - "build-check-afl-address-x86_64": c474e10428ad: Pull complete Step #4 - "build-check-afl-address-x86_64": 03b17cb6f2dd: Pull complete Step #4 - "build-check-afl-address-x86_64": 042a6eb9cc1e: Pull complete Step #4 - "build-check-afl-address-x86_64": 4f467d64479a: Pull complete Step #4 - "build-check-afl-address-x86_64": Digest: sha256:42559fdc03a2ac43e06298aaf24486fb7859f1efe1170f580064866f119fc0eb 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/tmprzly7at8/fuzz_json Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmprzly7at8/fuzz_shead Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmprzly7at8/fuzz_butil Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmprzly7at8/fuzz_esp Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmprzly7at8/fuzz_redis Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmprzly7at8/fuzz_hpack Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmprzly7at8/fuzz_http Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmprzly7at8/fuzz_hulu Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmprzly7at8/fuzz_uri Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmprzly7at8/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 67%) Step #6: adding: fuzz_json_seed_corpus.zip (stored 0%) Step #6: adding: fuzz_redis (deflated 67%) Step #6: adding: fuzz_redis_seed_corpus.zip (stored 0%) Step #6: adding: fuzz_shead (deflated 66%) Step #6: adding: fuzz_sofa (deflated 66%) Step #6: adding: fuzz_uri (deflated 66%) Step #6: adding: fuzz_uri_seed_corpus.zip (stored 0%) Step #6: adding: injection-pass.so (deflated 70%) Step #6: adding: lib/ (stored 0%) Step #6: adding: lib/libprotobuf.so.17 (deflated 66%) Step #6: adding: lib/libgflags_nothreads.so.2.2.2 (deflated 59%) Step #6: adding: lib/libsnappy.so.1.1.8 (deflated 62%) Step #6: adding: lib/libprotoc.so.17 (deflated 66%) Step #6: adding: lib/libgflags_nothreads.so (deflated 59%) Step #6: adding: lib/libgflags.so.2.2 (deflated 59%) Step #6: adding: lib/libprotoc.a (deflated 76%) Step #6: adding: lib/libsnappy.so.1 (deflated 62%) Step #6: adding: lib/libprotobuf-lite.a (deflated 79%) Step #6: adding: lib/libprotoc.so.17.0.0 (deflated 66%) Step #6: adding: lib/libgflags.a (deflated 70%) Step #6: adding: lib/libprotobuf.a (deflated 79%) Step #6: adding: lib/libgflags_nothreads.so.2.2 (deflated 59%) Step #6: adding: lib/libsnappy-shared.a (deflated 67%) Step #6: adding: lib/libprotobuf.so (deflated 66%) Step #6: adding: lib/libsnappy.a (deflated 67%) Step #6: adding: lib/libgflags.so.2.2.2 (deflated 59%) Step #6: adding: lib/libprotobuf-lite.so.17 (deflated 66%) Step #6: adding: lib/libsnappy.so (deflated 62%) Step #6: adding: lib/libprotobuf-lite.so.17.0.0 (deflated 66%) Step #6: adding: lib/libprotobuf.so.17.0.0 (deflated 66%) Step #6: adding: lib/libprotobuf-lite.so (deflated 66%) Step #6: adding: lib/libgflags_nothreads.a (deflated 70%) Step #6: adding: lib/libleveldb.so (deflated 57%) Step #6: adding: lib/libleveldb.so.1.22.0 (deflated 57%) Step #6: adding: lib/libprotoc.so (deflated 66%) Step #6: adding: lib/libleveldb.a (deflated 73%) Step #6: adding: lib/libleveldb.so.1d (deflated 57%) Step #6: adding: lib/libgflags.so (deflated 59%) Step #6: adding: libAFLDriver.a (deflated 64%) Step #6: adding: libAFLQemuDriver.a (deflated 65%) Step #6: adding: llvm-symbolizer (deflated 65%) Step #6: adding: split-compares-pass.so (deflated 69%) Step #6: adding: split-switches-pass.so (deflated 70%) Finished Step #6 Starting Step #7 Step #7: Pulling image: gcr.io/oss-fuzz-base/uploader Step #7: Using default tag: latest Step #7: latest: Pulling from oss-fuzz-base/uploader Step #7: c62795f78da9: Pulling fs layer Step #7: d4fceeeb758e: Pulling fs layer Step #7: 5c9125a401ae: Pulling fs layer Step #7: 0062f774e994: Pulling fs layer Step #7: 6b33fd031fac: Pulling fs layer Step #7: 7eb39101e508: Pulling fs layer Step #7: 89257482f398: Pulling fs layer Step #7: 89257482f398: Waiting Step #7: 6b33fd031fac: Verifying Checksum Step #7: 6b33fd031fac: Download complete Step #7: d4fceeeb758e: Verifying Checksum Step #7: d4fceeeb758e: Download complete Step #7: 0062f774e994: Verifying Checksum Step #7: 0062f774e994: Download complete Step #7: 89257482f398: Verifying Checksum Step #7: 89257482f398: Download complete Step #7: c62795f78da9: Verifying Checksum Step #7: c62795f78da9: Download complete Step #7: 7eb39101e508: Verifying Checksum Step #7: 7eb39101e508: Download complete Step #7: c62795f78da9: Pull complete Step #7: d4fceeeb758e: Pull complete Step #7: 5c9125a401ae: Pull complete Step #7: 0062f774e994: Pull complete Step #7: 6b33fd031fac: Pull complete Step #7: 7eb39101e508: Pull complete Step #7: 89257482f398: Pull complete Step #7: Digest: sha256:5717ba63d13b5515063e2a6ccad09fb5bf32a86c8e0798a363d81c2be522e411 Step #7: Status: Downloaded newer image for gcr.io/oss-fuzz-base/uploader:latest Step #7: gcr.io/oss-fuzz-base/uploader:latest Step #7: % Total % Received % Xferd Average Speed Time Time Time Current Step #7: Dload Upload Total Spent Left Speed Step #7: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 147 0 0 100 147 0 707 --:--:-- --:--:-- --:--:-- 710 Finished Step #7 Starting Step #8 Step #8: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #8: % Total % Received % Xferd Average Speed Time Time Time Current Step #8: Dload Upload Total Spent Left Speed Step #8: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 48 209M 0 0 48 102M 0 190M 0:00:01 --:--:-- 0:00:01 190M 100 209M 0 0 100 209M 0 159M 0:00:01 0:00:01 --:--:-- 159M 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 372 --:--:-- --:--:-- --:--:-- 372 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 132 --:--:-- --:--:-- --:--:-- 133 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.4s) 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 idl_options.pb.h, idl_options.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating brpc/builtin_service.pb.h, brpc/builtin_service.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating brpc/errno.pb.h, brpc/errno.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating v3.pb.h, v3.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating brpc/get_js.pb.h, brpc/get_js.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating addressbook.pb.h, addressbook.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating brpc/grpc_health_check.pb.h, brpc/grpc_health_check.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/nshead_meta.pb.h, brpc/nshead_meta.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 brpc/options.pb.h, brpc/options.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating addressbook_encode_decode.pb.h, addressbook_encode_decode.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 addressbook_map.pb.h, addressbook_map.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating echo.pb.h, echo.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 grpc.pb.h, grpc.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating brpc/policy/hulu_pbrpc_meta.pb.h, brpc/policy/hulu_pbrpc_meta.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating iobuf.pb.h, iobuf.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 message.pb.h, message.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating brpc/policy/public_pbrpc_meta.pb.h, brpc/policy/public_pbrpc_meta.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating repeated.pb.h, repeated.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/sofa_pbrpc_meta.pb.h, brpc/policy/sofa_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 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": [ 8%] Generating brpc/rtmp.pb.h, brpc/rtmp.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Generating brpc/span.pb.h, brpc/span.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Generating v2.pb.h, v2.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Generating brpc/trackme.pb.h, brpc/trackme.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/g_fmt.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dynamic_annotations/dynamic_annotations.c.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/dtoa_wrapper.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/icu/icu_utf.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/superfasthash/superfasthash.c.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/modp_b64/modp_b64.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/demangle.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/symbolize.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-sinksource.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-stubs-internal.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/murmurhash3/murmurhash3.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/arena.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/at_exit.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/atomicops_internals_x86_gcc.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64url.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/big_endian.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/cpu.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/alias.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/asan_invalid_access.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/dump_without_crashing.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/proc_maps_linux.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/crash_logging.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object CMakeFiles/PROTO_LIB.dir/idl_options.pb.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/addressbook1.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/environment.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_encode_decode.pb.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": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path_constants.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] 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": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_file.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_temp_dir.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/hash.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/lazy_instance.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/location.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": [ 21%] 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": [ 24%] 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 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 CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.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 CMakeFiles/PROTO_LIB.dir/brpc/span.pb.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": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/status.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/builtin_service.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 test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/temp_file.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_watcher.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/zero_copy_stream_as_streambuf.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/crc32c.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object 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/containers/case_ignored_flat_map.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/single_iobuf.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf_profiler.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/binary_printer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/recordio.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/popen.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_linux.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_linux.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/sys_string_conversions_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object 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 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": [ 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": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_map.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/iobuf.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/message.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/repeated.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/snappy_message.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v1.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/recordio.cc:318:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 318 | char metabuf[s.name.size() + 5]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/recordio.cc:318:22: note: initializer of 's' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/recordio.cc:312:15: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 312 | auto& s = rec.MetaAt(i); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v2.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v3.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/grpc.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/iobuf.cpp:833:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 833 | struct iovec vec[nref]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/iobuf.cpp:833:22: note: initializer of 'nref' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/iobuf.cpp:832:18: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 832 | const size_t nref = std::min(_ref_num(), IOBUF_IOV_MAX); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/iobuf.cpp:864:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 864 | struct iovec vec[nref]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/iobuf.cpp:864:22: note: initializer of 'nref' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/iobuf.cpp:863:18: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 863 | const size_t nref = std::min(_ref_num(), IOBUF_IOV_MAX); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/health_check.pb.cc.o 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": [ 48%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/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": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/percentile.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/sampler.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/gflag.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/latency_recorder.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/mvariable.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/variable.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread_once.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/butex.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/condition_variable.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/context.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/countdown_event.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/errno.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/execution_queue.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/fd.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/id.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/interrupt_pthread.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/key.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/mutex.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/rwlock.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_tracer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/encode_decode.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/timer_thread.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/json_to_pb.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/pb_to_json.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_map.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_type_resolver.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/field_type.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/mcpack2pb.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/parser.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/serializer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/acceptor.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_connection_type.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_max_concurrency.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/amf.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.cpp:75:39: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<30UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 75 | g->get_interval_at(index).merge(interval); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :134:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 134 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :130:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 130 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<30>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/combiner.h:225:63: note: in instantiation of member function 'bvar::detail::PercentileSamples<30>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 225 | const ElementTp element_identity = ElementTp(), Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:680:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 680 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:1344:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 1344 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:359:4: note: in instantiation of function template specialization 'std::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 359 | : __shared_ptr<_Tp>(In file included from /src/brpc/src/bvar/latency_recorder.cpp__tag, :23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": std::forw 289 | ar memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": d/src/brpc/src/bvar/detail/sampler.h<_Arg: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": s 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98>(__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 :  take_sanote: in instantiation of function template specialization 'std::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested herempl Step #12 - "compile-honggfuzz-address-x86_64": e(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  701 | /src/brpc/src/bvar/detail/percentile.h: 529:28 : note: retuin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": rn shared_ptr 529 | < _ T _psa>(mp_Sler = new sp_alloc_ampslehr_taredy_pe(ttag<_Alloc>h{i_s_a}),; 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": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:717:19: note: in instantiation of function template specialization 'std::allocate_shared, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 717 | return/src/brpc/src/bvar/detail/percentile.h s:t289d:::16a: llocnote: atexplicitly cast the pointer to silence this warninge_ Step #12 - "compile-honggfuzz-address-x86_64": sh ared<_Tp>(std::allocator<_Tp_nc>(),289 | Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":   memset(thi/src/brpc/src/bvar/detail/percentile.cpps:,89 :220: , note: siin instantiation of function template specialization 'std::make_shared, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": z eof(*this)89) | ;  Step #12 - "compile-honggfuzz-address-x86_64": | : ^_ Step #12 - "compile-honggfuzz-address-x86_64": co m| bi (void*)n Step #12 - "compile-honggfuzz-address-x86_64": er(std::make_shared()), _sampler(NULIn file included from L) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /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:/src/brpc/src/bvar/detail/percentile.h:289:1627: note: : Step #12 - "compile-honggfuzz-address-x86_64": explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/countdown_event.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/countdown_event.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<1022>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.cpp:64:55: note: in instantiation of member function 'bvar::detail::PercentileSamples<1022>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 64 | std::unique_ptr cb(new CombinedPercentileSamples); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/id.cpp:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: In file included from in instantiation of member function 'bvar::detail::Sample>::Sample' requested here/src/brpc/src/bthread/semaphore.cpp:20 Step #12 - "compile-honggfuzz-address-x86_64": : Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32 116 | Sam: Step #12 - "compile-honggfuzz-address-x86_64": In file included from ple tmp; Step #12 - "compile-honggfuzz-address-x86_64": /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: |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: /src/brpc/src/bvar/detail/sampler.hfirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sample r =289 | new sampler_type( this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/collector.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | /src/brpc/src/bvar/detail/percentile.h :132:13 : warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]  Step #12 - "compile-honggfuzz-address-x86_64": Sample t 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | chamrp; n Step #12 - "compile-honggfuzz-address-x86_64": ame##_stack | _a ^r Step #12 - "compile-honggfuzz-address-x86_64": ray[sizeof/src/brpc/src/bvar/detail/sampler.h:(T98:p)9: *  nnote: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herea Step #12 - "compile-honggfuzz-address-x86_64": m e##_sta98ck | _ a r r a y _ stiazkee]; \_sample(); Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herenote: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_529in | t e r val _ a t ( i ) . m e_rsgea(m*prlhesr .=_ innteewrv alssa[mip]l)e;r_ Step #12 - "compile-honggfuzz-address-x86_64": t y| pe ^( Step #12 - "compile-honggfuzz-address-x86_64": this);/src/brpc/src/bvar/detail/percentile.h: Step #12 - "compile-honggfuzz-address-x86_64": | 499: ^12 Step #12 - "compile-honggfuzz-address-x86_64": : /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this,note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 |  0 ,  s i zeof (* _var-this>));op()(v1, Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  v| 2) (void*); Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :162:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 162 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/timer_thread.cpp:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/detail/sampler.h:98:9: note: /src/brpc/src/bthread/execution_queue.cppin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here: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": : 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 98 | : Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h: 28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _ takes_saammple(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": p/src/brpc/src/bvar/detail/percentile.h:529:28l:e r =note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested herene Step #12 - "compile-honggfuzz-address-x86_64": w sampler_type(th 529 | _sampler = /src/brpc/src/bvar/detail/percentile.hn:ew sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": is132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": ) 132 | ; Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/bvar/detail/percentile.h ^ : Step #12 - "compile-honggfuzz-address-x86_64": 289:16:  note: Dexplicitly cast the pointer to silence this warningEF Step #12 - "compile-honggfuzz-address-x86_64": INE_SM A289L | L _ A R R A Y ( umienmts3e2t_(t, tthmips, ,r hs0./src/brpc/src/bvar/detail/percentile.h_:,n289 u:m16s_:is zaemponote: fleexplicitly cast the pointer to silence this warning(s*, Step #12 - "compile-honggfuzz-address-x86_64": this ))64); Step #12 - "compile-honggfuzz-address-x86_64": ;|  Step #12 - "compile-honggfuzz-address-x86_64": ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]) ; Step #12 - "compile-honggfuzz-address-x86_64": 289 | |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": memset(this, 4990 |  ,  s i z e of(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) 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::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :176:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 176 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :172:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 172 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/baidu_master_service.cpp.o 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memIn file included from set(t/src/brpc/src/bthread/key.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #12 - "compile-honggfuzz-address-x86_64": hiIn 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.hs,:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h :289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 0 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :176:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 176 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :172:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 172 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this));,  Step #12 - "compile-honggfuzz-address-x86_64":  s|  ^ Step #12 - "compile-honggfuzz-address-x86_64": izeof(*this/src/brpc/src/bvar/detail/sampler.h)); 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:409: :note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here16 Step #12 - "compile-honggfuzz-address-x86_64": : note:  98 | in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here  Step #12 - "compile-honggfuzz-address-x86_64": tak e_40samp | l e(Sample(); Step #12 - "compile-honggfuzz-address-x86_64": ) |  ^: Step #12 - "compile-honggfuzz-address-x86_64": data(/src/brpc/src/bvar/detail/percentile.h:),529:28: tnote: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereim Step #12 - "compile-honggfuzz-address-x86_64": e_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ 529 | Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/sampler.h:116 _s:23ampl: er = newnote: sain instantiation of member function 'bvar::detail::Sample>::Sample' requested herempler_type Step #12 - "compile-honggfuzz-address-x86_64": ( 116 | this ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | /src/brpc/src/bvar/detail/percentile.h: t289:16: note: aexplicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": ke_sample(); Step #12 - "compile-honggfuzz-address-x86_64": | 289 |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  memset(this, /src/brpc/src/bvar/detail/percentile.h:529:280,: si zeofnote: (*this)in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here); Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64":  529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :153:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 153 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :149:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 149 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bad_method_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_S[ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bthreads_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": MALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :173:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 173 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :169:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 169 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_s2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": tack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: /src/brpc/src/bvar/detail/percentile.h:132:13: note: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 132 | 161 | DEFINEt_SMAmLL_ApRRAY(_uints32_t, ttmp, rachs._nk_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13um_: samplnote: es, [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": declared here 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 | /src/brpc/src/butil/macros.h: 425: 20:ch arnote:  expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const name##_stack_array[sizeof(Tp) * name##_stacku_anrsriagyn_esdiz en]a;m e # # _ s t\ac Step #12 - "compile-honggfuzz-address-x86_64": k _| arr ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~a Step #12 - "compile-honggfuzz-address-x86_64": y_size =/src/brpc/src/bvar/detail/percentile.h :(n364a:m36e:# #_snote: izin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested heree Step #12 - "compile-honggfuzz-address-x86_64": < = (maxsiz364e | ) ? n a m e # # _ s i z e : 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).me:r157g:e1(:* rhsnote: ._expanded from herein Step #12 - "compile-honggfuzz-address-x86_64": tervals[i157] | )t;mp Step #12 - "compile-honggfuzz-address-x86_64": _ s| ta ^c Step #12 - "compile-honggfuzz-address-x86_64": k_array_/src/brpc/src/bvar/detail/percentile.hs:i499z:e12: Step #12 - "compile-honggfuzz-address-x86_64": | note: ^ Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :164:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 164 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :160:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 160 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/connections_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 599 | DEFINE_SMALL_ARRAY(int, nums, ngroup, 128); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(/src/brpc/src/bvar/detail/percentile.hT:p132): 13*: namwarning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": e##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64":  132 |  /src/brpc/src/bthread/task_control.cpp : 599 : 5 D:E FINnote: E_initializer of 'nums_stack_array_size' is not a constant expressionSM Step #12 - "compile-honggfuzz-address-x86_64": ALL_A/src/brpc/src/butil/macros.hR:R426A:Y42(:u intnote: 32expanded from macro 'DEFINE_SMALL_ARRAY'_t Step #12 - "compile-honggfuzz-address-x86_64": , tmp, rhs._num _426s | a m ple s, char6 name##_s4ta);c Step #12 - "compile-honggfuzz-address-x86_64": k _| ar ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~r Step #12 - "compile-honggfuzz-address-x86_64": ay[sizeo/src/brpc/src/butil/macros.hf:(426T:p29): * name##_stack_array_snote: izexpanded from macro 'DEFINE_SMALL_ARRAY'e]; Step #12 - "compile-honggfuzz-address-x86_64": \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :121:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(T121p) | *n unmasm_es#t#a_cskt_aacrk_raarrayy__ssiizzee]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/src/brpc/src/bthread/task_control.cpp Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h::132599:5::13 :note: declared here/src/brpc/src/bvar/detail/percentile.h  Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:364:36: :warning: note: 425:20:in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herevariable 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": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 364 132 |  /src/brpc/src/bvar/detail/percentile.h : | get132:13: _warning: intvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]er Step #12 - "compile-honggfuzz-address-x86_64": val_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 132 | 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here D Step #12 - "compile-honggfuzz-address-x86_64": EFI N53E | _ S M A L L _ A R R A Y ( u i n t_3v2a_rt-,> otpm(p),( vr1h,s .v_2n)u;m_ Step #12 - "compile-honggfuzz-address-x86_64": s a| m ^ 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": p 29 | return425 | const un sign DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": les, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": o/src/brpc/src/butil/macros.hp(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": :426:29 116 | reed : note: expanded from macro 'DEFINE_SMALL_ARRAY'na Step #12 - "compile-honggfuzz-address-x86_64": me##_s tack426_ | ar chraar name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": y_ 364 | s i z get_interve =116 | t u rna l_at(i) a(p.nmerge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: anote: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": me# 499# | _s i b1.zmergee(b2) ; Step #12 - "compile-honggfuzz-address-x86_64": <|  ^ Step #12 - "compile-honggfuzz-address-x86_64": = /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": rpee(nd_secotma116u | nd(vxalurns appei, _op); z Step #12 - "compile-honggfuzz-address-x86_64": ened_| s ^) Step #12 - "compile-honggfuzz-address-x86_64": e c?o/src/brpc/src/bvar/window.h: 65:25nrna:m e##note: _din instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": (values, _ei 65z | t u o p e r n ); : a  Step #12 - "compile-honggfuzz-address-x86_64": _ serpipes0.ap| pen ^d(_owene)r->get_value(n1 Step #12 - "compile-honggfuzz-address-x86_64": ;d_se)); \/src/brpc/src/bvar/window.hc Step #12 - "compile-honggfuzz-address-x86_64": ond( value| , _op); Step #12 - "compile-honggfuzz-address-x86_64": : ^65:25: Step #12 - "compile-honggfuzz-address-x86_64": |  ^ note: Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": |  ^in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": : 65117 | _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": 1: 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": note: 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": expanded from here 49 | class LatencyRecorderBase { 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:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 117 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :164:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 164 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :160:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 160 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /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/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": /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":  | 65 | Step #12 - "compile-honggfuzz-address-x86_64": _series.append(_owner 58 | - > ge t_nv u msaSleriueseS(ampler(Wind_st1ac)k_arr)owBase* owner, R* a;y_si Step #12 - "compile-honggfuzz-address-x86_64": z 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/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY'var) Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :164:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 164 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :160:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 160 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64":  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": In file included from /src/brpc/src/bvar/detail/percentile.h/src/brpc/src/bthread/mutex.cpp::13227:: Step #12 - "compile-honggfuzz-address-x86_64": 13In file included from :/src/brpc/src/bvar/bvar.h :27: Step #12 - "compile-honggfuzz-address-x86_64": note: In file included from /src/brpc/src/bvar/latency_recorder.hinitializer of 'tmp_stack_array_size' is not a constant expression:26 Step #12 - "compile-honggfuzz-address-x86_64": : Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs .289_ | num_ sam pl es, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :170:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 170 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64":  memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/dir_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp: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); }/src/brpc/src/bvar/detail/percentile.h:132:13 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": warning: 317 | variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]  Step #12 - "compile-honggfuzz-address-x86_64": 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 here132 Step #12 - "compile-honggfuzz-address-x86_64": | 316 | const size_t cu r_batch = std::min(n, BA DEFTICHNE_S)M;AL Step #12 - "compile-honggfuzz-address-x86_64": L_ A| RR ^ Step #12 - "compile-honggfuzz-address-x86_64": AY/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 | FixedHead(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36AndVal:u e<Tnote: > in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested heretm Step #12 - "compile-honggfuzz-address-x86_64": p [cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": 364 | /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": get379_ | i{nt eardvd_aplr_iamti(tii)v.emse(r_gset(*rrehasm.,_ peinteerkv_aglrso[ui]); Step #12 - "compile-honggfuzz-address-x86_64": p_inf| o( ^) Step #12 - "compile-honggfuzz-address-x86_64": , valu/src/brpc/src/bvar/detail/percentile.he:s499,: 12c:o unt)note: ; in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here} Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38499: |   note:  initializer of 'cur_batch' is not a constant expression  Step #12 - "compile-honggfuzz-address-x86_64": 317 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":   /src/brpc/src/bvar/window.h : 53 : 17F:i xednote: HeadAndin instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": Value t53mp | [ c u r _ b a t c h ] ;  Step #12 - "compile-honggfuzz-address-x86_64": |  ^_ Step #12 - "compile-honggfuzz-address-x86_64": var->/src/brpc/src/mcpack2pb/serializer.cpp:316:26: op()(v1, note: v2declared here); Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 316/src/brpc/src/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":  const 29s | i z e _ t rceutru_rbnat cohp (=v 1s,t dv:2:)m;in Step #12 - "compile-honggfuzz-address-x86_64": ( n| , BAT ^C Step #12 - "compile-honggfuzz-address-x86_64": H); Step #12 - "compile-honggfuzz-address-x86_64": |  ^/src/brpc/src/bvar/detail/series.h Step #12 - "compile-honggfuzz-address-x86_64": :168:13: note: in 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": /src/brpc/src/mcpack2pb/serializer.cpp|  ^: Step #12 - "compile-honggfuzz-address-x86_64": 317:38: warning: /src/brpc/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": variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 65 | 317 | _s e ri e s . a pFpiexnde(d_HoewandeArn-d>Vgaelt_uveae (tm1p[)c)u;r_ Step #12 - "compile-honggfuzz-address-x86_64": b a|  ^t Step #12 - "compile-honggfuzz-address-x86_64": ch]; Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/bvar/window.h: ^~~~~~~~~58 Step #12 - "compile-honggfuzz-address-x86_64": :9: note: /src/brpc/src/mcpack2pb/serializer.cpp:in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here381: Step #12 - "compile-honggfuzz-address-x86_64": 3 : note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | 381S | e{ri easdSda_mpprliemri(tWiivnedso(w_Bsatsreeam, *p eoewkn_egrr,o uRp*_ ivnafro)() Step #12 - "compile-honggfuzz-address-x86_64": , | va ^l Step #12 - "compile-honggfuzz-address-x86_64": ues, coun/src/brpc/src/bvar/window.ht:)151;: 35}: Step #12 - "compile-honggfuzz-address-x86_64":  | 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/mcpack2pb/serializer.cpp:317:38: note: 151 | initializer of 'cur_batch' is not a constant expression  Step #12 - "compile-honggfuzz-address-x86_64": _serie317s | _ s a mp l e r =  n eFw iSxeerdiHeesaSdaAmnpdlVearl(uets t,m p_[vcaurr)_;ba Step #12 - "compile-honggfuzz-address-x86_64": t c| h] ^; 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/latency_recorder.h:49/src/brpc/src/mcpack2pb/serializer.cpp::7316:: 26: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested herenote:  Step #12 - "compile-honggfuzz-address-x86_64": declared here  Step #12 - "compile-honggfuzz-address-x86_64": 49 | cl316a | s s  L a t e n c y R eccoorndsetrB assiez e{_t Step #12 - "compile-honggfuzz-address-x86_64": c| ur ^_ Step #12 - "compile-honggfuzz-address-x86_64": batch = s/src/brpc/src/bvar/detail/percentile.ht:d132:::13m:i n(nnote: , initializer of 'tmp_stack_array_size' is not a constant expressionBA Step #12 - "compile-honggfuzz-address-x86_64": T CH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426: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/src/brpc/src/mcpack2pb/serializer.cpp_s:i317z:e38 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": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 317/src/brpc/src/butil/macros.h | : 425 : 20 :  note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": Fixed425H | e adcAonndstVa lueui gtnmepd[c unra_mbea##t_csht]a;ck Step #12 - "compile-honggfuzz-address-x86_64": _ a| rr ^~~~~~~~~ay_size = Step #12 - "compile-honggfuzz-address-x86_64": (name##_/src/brpc/src/mcpack2pb/serializer.cpps:i383z:e3 :< = (note: main instantiation of function template specialization 'mcpack2pb::add_primitives' requested herexsiz Step #12 - "compile-honggfuzz-address-x86_64": e ) ? name##_s383iz | e{ :a dd0_pr);i m\it Step #12 - "compile-honggfuzz-address-x86_64": i v| es ^( Step #12 - "compile-honggfuzz-address-x86_64": _strea:193:m1:, peeknote: _gexpanded from herero Step #12 - "compile-honggfuzz-address-x86_64": u p_info(), 193v | atlmupe_ss,t accoku_nartr)a;y _}si Step #12 - "compile-honggfuzz-address-x86_64": z 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/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:385:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 385 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:387:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 387 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:389:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 389 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:391:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 391 | { add_primitives(_stream, In file included from /src/brpc/src/bthread/task_control.cpp:34: Step #12 - "compile-honggfuzz-address-x86_64": pIn file included from e/src/brpc/src/bthread/task_group.he:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from k/src/brpc/src/bthread/task_control.h_:g34r: Step #12 - "compile-honggfuzz-address-x86_64": oIn file included from u/src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]p_ Step #12 - "compile-honggfuzz-address-x86_64": info(), value s, count);289 } |  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  mem/src/brpc/src/mcpack2pb/serializer.cpps:e317t:(38: this,note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadA 0ndValue 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": , 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 |  Samp/src/brpc/src/mcpack2pb/serializer.cpp:317:le tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^38 Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": : 98 | warning:   variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]  Step #12 - "compile-honggfuzz-address-x86_64": take_317s | a m p l e ( ) ;  Step #12 - "compile-honggfuzz-address-x86_64": | F ^i Step #12 - "compile-honggfuzz-address-x86_64": xedHeadAnd/src/brpc/src/bvar/detail/percentile.hVa:l529u:e28<:T > tnote: mpin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here[c Step #12 - "compile-honggfuzz-address-x86_64": u r_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": 529 |  /src/brpc/src/mcpack2pb/serializer.cpp : 397 : 3 :   note: _sin instantiation of function template specialization 'mcpack2pb::add_primitives' requested hereamp Step #12 - "compile-honggfuzz-address-x86_64": ler = new397 s | a{m paldedr_p_rtiympiet(ivtesh(i_sst)r;ea Step #12 - "compile-honggfuzz-address-x86_64": m ,| p ^e Step #12 - "compile-honggfuzz-address-x86_64": ek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:/src/brpc/src/mcpack2pb/serializer.cpp289:16:317::38 : note: note: explicitly cast the pointer to silence this warninginitializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": 317 | 289 | F i x e dmHeadAndValue tmp[ceur_mbsaett(ch]t;hi Step #12 - "compile-honggfuzz-address-x86_64": s | , ^ Step #12 - "compile-honggfuzz-address-x86_64": 0, /src/brpc/src/mcpack2pb/serializer.cppsi:z316:e26:o f(note: *tdeclared herehis Step #12 - "compile-honggfuzz-address-x86_64":  )); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  | 316 | (void*) Step #12 - "compile-honggfuzz-address-x86_64":  const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :160:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 160 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :156:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 156 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flags_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flot_min_js.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_favicon_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_js_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/grpc_health_check_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_group.cpp:36: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/health_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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": 3151 warning | s generated . Step #12 - "compile-honggfuzz-address-x86_64": _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :170:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 170 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/hotspots_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/ids_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :189:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 189 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 185 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] 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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/jquery_min_js.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/list_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/adaptive_max_concurrency.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/acceptor.cpp:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/acceptor.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :222:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 222 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :218:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 218 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/method_status.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 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": [ 67%] 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/prometheus_metrics_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :176:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 176 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :172:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 172 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/protobufs_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_int[ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/rpcz_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": erval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b[ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sockets_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/common.cpp:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sorttable_js.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/dir_service.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/status_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/get_favicon_service.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/bad_method_service.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/get_js_service.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :199:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 199 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :195:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 195 | tmp_stack_2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 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/threads_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h[ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vars_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": :116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/connections_service.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/version_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/grpc_health_check_service.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/flags_service.cpp:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/viz_min_js.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :240:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 240 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :236:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 236 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size 2 warnings: generated . Step #12 - "compile-honggfuzz-address-x86_64": 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/channel.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vlog_service.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/checksum.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/circuit_breaker.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/ids_service.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/cluster_recover_policy.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/compress.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :229:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 229 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :225:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 225 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/controller.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/couchbase.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/index_service.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/hotspots_service.cpp:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/has_epollrdhup.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :16:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 16 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :12:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 12 | tmp_stac/src/brpc/src/bvar/detail/percentile.h:k132_:13: arraywarning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]_size Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64":  132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/health_check.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :50:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 50 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :46:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 46 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/list_service.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/memory_service.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/hpack.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 12 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_message.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/pprof_service.cpp:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] 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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/jemalloc_profiler.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/load_balancer_with_naming.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :250:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 250 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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/mesalink_ssl_helper.cpp.o 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] 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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/naming_service_thread.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/rtmp_utils.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/ssl_helper.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :229:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 229 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :225:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 225 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/tcmalloc_extension.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/usercode_backup_pool.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/sockets_service.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/rpcz_service.cpp:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/threads_service.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/status_service.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/esp_message.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/vars_service.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/event_dispatcher.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/global.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132/src/brpc/src/bvar/detail/percentile.h | :132: 13:  warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint 3DE2_t,FI NtEmp,_S rMhAsL.L__Anum_sampRles, RA6Y4();[ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/grpc.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": uint32_ Step #12 - "compile-honggfuzz-address-x86_64": | t ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~, tmp Step #12 - "compile-honggfuzz-address-x86_64": , rhs._num_sampl/src/brpc/src/butil/macros.hes,:426: 2964: ); 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/butil/macros.h:426426: | 29 :  note: cexpanded from macro 'DEFINE_SMALL_ARRAY'ha Step #12 - "compile-honggfuzz-address-x86_64": r  name##426_ | s t acchkar_arr namaey#[#_ssitzeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]);ack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._interval Step #12 - "compile-honggfuzz-address-x86_64": s [| 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/percentile.h:/src/brpc/src/bvar/detail/percentile.h499::499:1212:: note: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested herein instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": 499 | 499 b | 1 . m e r g e ( bb21).;me Step #12 - "compile-honggfuzz-address-x86_64": r g| e( ^b2); Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64":  |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17/src/brpc/src/bvar/window.h: :53:note: 17:in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here  Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | 53 | _ v a r - > o p _v()(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.har->op()(v1, v2);:29 Step #12 - "compile-honggfuzz-address-x86_64": : 12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | |  ^ 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 |  rSeeturn append_second(rviaelue, _osSapmp)ler(W; Step #12 - "compile-honggfuzz-address-x86_64": i | nd ^o Step #12 - "compile-honggfuzz-address-x86_64": wBase* /src/brpc/src/bvar/window.ho:w65n:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested hereer, R* var) Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 65 |  /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": series. ap151pe | n d (_ o w n e r - >g e t_ v_asleruiee(s_1s)); Step #12 - "compile-honggfuzz-address-x86_64": am p| le ^r Step #12 - "compile-honggfuzz-address-x86_64": = new /src/brpc/src/bvar/window.hSer:In file included from /src/brpc/src/brpc/builtin/version_service.cpp58:9iesS:a19m: 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:pl32:: Step #12 - "compile-honggfuzz-address-x86_64": er(thnote: isin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here, Step #12 - "compile-honggfuzz-address-x86_64": _ var); Step #12 - "compile-honggfuzz-address-x86_64": 58 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": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:289:16/src/brpc/src/bvar/latency_recorder.h : 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": :S49 289 | er : m7: ieemsesnote: t(Sain instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested heremp Step #12 - "compile-honggfuzz-address-x86_64": lthis, er0, si(WiznedoofwBa(*t hi49 | ss));ec Step #12 - "compile-honggfuzz-address-x86_64": * owner, Rla | *s ^ vs Step #12 - "compile-honggfuzz-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 #12 - "compile-honggfuzz-address-x86_64": r 40 | SL)aampl Step #12 - "compile-honggfuzz-address-x86_64": et() : eda| tnca(),y ^tiRm Step #12 - "compile-honggfuzz-address-x86_64": e_eus(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:c23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": or de116 | /src/brpc/src/bvar/window.h r B :151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Sampals Step #12 - "compile-honggfuzz-address-x86_64": ee { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: /src/brpc/src/bvar/detail/percentile.h:note: 151 | 132 :13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here  _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_arr Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: ,note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | 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 _sampler = new samp lnearm_typee##(_stthaicsk_)a;rr Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": ay[sizeof(Tp) * name##_stack_array_size]; a \ Step #12 - "compile-honggfuzz-address-x86_64": | y_si ^ze Step #12 - "compile-honggfuzz-address-x86_64": :229:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 229 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": = (name##_size <= (maxsize) ? n425a | constm e#u#n_ssiigznee d: n0am)e;# #\_s Step #12 - "compile-honggfuzz-address-x86_64": t a| ck ^_ Step #12 - "compile-honggfuzz-address-x86_64": array_size :=215 :(1n:a me#note: #_expanded from heresi Step #12 - "compile-honggfuzz-address-x86_64": ze <= (maxsize) ? name##_siz e215 | :t mp0_s)t;a c\k_arr Step #12 - "compile-honggfuzz-address-x86_64": ay_si z| e Step #12 - "compile-honggfuzz-address-x86_64": ^| ^ Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": :225:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 225 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/compress.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http2.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": get_interval_at(i).merge(*rhs._i ntervals132[i]); |  Step #12 - "compile-honggfuzz-address-x86_64": | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364: ^36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64":  364 |  /src/brpc/src/bvar/detail/percentile.h:499:12:  get_interval_at(i).merge(*note: rhin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested heres._i Step #12 - "compile-honggfuzz-address-x86_64": nterval s499 | [i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12:  bnote: 1.in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested hereme Step #12 - "compile-honggfuzz-address-x86_64": rge(b2 499 | ) b1.merge; Step #12 - "compile-honggfuzz-address-x86_64": (| b ^ Step #12 - "compile-honggfuzz-address-x86_64": 2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17:/src/brpc/src/bvar/window.h: 53:17note: : in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested herenote: Step #12 - "compile-honggfuzz-address-x86_64":  in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | 53 | _ v a_rva-r>-o>po(p)(()v(1v,1 ,v 2v)2;); 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/call_op_returning_void.h/src/brpc/src/bvar/detail/call_op_returning_void.h::2929::1212:: note: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested herein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | Step #12 - "compile-honggfuzz-address-x86_64": retur29n |  o p (vr1e,t uvr2n); o Step #12 - "compile-honggfuzz-address-x86_64": p (| v1 ^, Step #12 - "compile-honggfuzz-address-x86_64": 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: /src/brpc/src/bvar/detail/series.h:in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here168:13 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 | cal168l | _ o p _ r e t u r ncianlgl__voopi_dr(eotpu,r ntimnpg,_ v_odiad(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);t Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": a.seco/src/brpc/src/bvar/window.hnd:(65i:)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 ^ Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64":  65 | /src/brpc/src/bvar/detail/series.h : 116 : 16 :  note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here  Step #12 - "compile-honggfuzz-address-x86_64": _series.append(_owner->g116e | t _v a l u e (  1r)e)t;ur Step #12 - "compile-honggfuzz-address-x86_64": n | a ^p Step #12 - "compile-honggfuzz-address-x86_64": pend_seco/src/brpc/src/bvar/window.hn:d58(:v9a:l ue,note: _in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested hereo Step #12 - "compile-honggfuzz-address-x86_64": p ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 58 | Se/src/brpc/src/bvar/window.hr:i65e:s25S:a mplnote: erin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here(W Step #12 - "compile-honggfuzz-address-x86_64": i ndowBase* owne65r, | R * v a r )  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": _serie/src/brpc/src/bvar/window.hs.:a151p:p35e:n d(_note: owin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested herener Step #12 - "compile-honggfuzz-address-x86_64": - >get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": 151| |  ^ Step #12 - "compile-honggfuzz-address-x86_64":   _serie/src/brpc/src/bvar/window.h:s58_:s9:a mpnote: lin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested hereer Step #12 - "compile-honggfuzz-address-x86_64": = new SeriesSam58pl | e r ( t h i s  ,Se r_iveasrS)a;mp Step #12 - "compile-honggfuzz-address-x86_64": l e| r( ^W Step #12 - "compile-honggfuzz-address-x86_64": indowBase* /src/brpc/src/bvar/latency_recorder.how:49:n7e:r, R* vanote: r)in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 49 | /src/brpc/src/bvar/window.hcl:a151s:s35: Lanote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": t encyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": 151| |  ^ Step #12 - "compile-honggfuzz-address-x86_64":   _se/src/brpc/src/bvar/detail/percentile.hr:i132e:s13_:s ampnote: lerinitializer of 'tmp_stack_array_size' is not a constant expression = Step #12 - "compile-honggfuzz-address-x86_64": new SeriesSample132r( |  t h i s  , _ v a r )D;EF Step #12 - "compile-honggfuzz-address-x86_64": I N| E_ ^S Step #12 - "compile-honggfuzz-address-x86_64": MALL_ARRAY(/src/brpc/src/bvar/latency_recorder.hu:i49n:t73:2 _t,note: tin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested heremp Step #12 - "compile-honggfuzz-address-x86_64": , rhs49. | _nucml_asamples, 64); Step #12 - "compile-honggfuzz-address-x86_64": | s ^ Step #12 - "compile-honggfuzz-address-x86_64": s Late/src/brpc/src/butil/macros.hnc:y426R:e42c:o rdenote: rexpanded from macro 'DEFINE_SMALL_ARRAY'B Step #12 - "compile-honggfuzz-address-x86_64": a se { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 426 | char 132n | a m e # # _ s t a c k _ aDrErFaIy[sizeof(TpN) E*_ SnaMmAeL#L#_A_RsRtAaYc(ku_ianrrta3y2__ts,i ztem]p;, r h s . _\nu Step #12 - "compile-honggfuzz-address-x86_64": m _| sa ^m Step #12 - "compile-honggfuzz-address-x86_64": ples, :62424:1):;  Step #12 - "compile-honggfuzz-address-x86_64":  note: | expanded from here ^ 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": 242 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20:426 |   note:  expanded from macro 'DEFINE_SMALL_ARRAY'c Step #12 - "compile-honggfuzz-address-x86_64": h ar name##_stack_array[sizeof(Tp) * n425am | e # # _ stcaocnks_tar rauyn_ssiigznee]d; n a m e #\#_ Step #12 - "compile-honggfuzz-address-x86_64": s t| a ^ck Step #12 - "compile-honggfuzz-address-x86_64": _array_size = (na:m219e:1: ##_note: siexpanded from hereze Step #12 - "compile-honggfuzz-address-x86_64": <= (maxsiz219e | t)m p?_ sntaamcek_a#r#r_asyi_zsei z:e  Step #12 - "compile-honggfuzz-address-x86_64": 0 | );^ \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": :/src/brpc/src/bvar/detail/percentile.h238::1321::13 : note: note: expanded from heredeclared here 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'238 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: 426132:42513: |   warning:  variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": c onst u132n | s i g n e d  name##_stack_arra | y_s i ze = (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":  chaDrEF InNaEm_eS#M#A_LsLt_aAcRkR_AaYr(ruaiyn[t3s2i_zte,o ftm(pT,p )r h*s .n_anmuem#_#s_asmtpalceks_,a rra6y4_s)i;ze Step #12 - "compile-honggfuzz-address-x86_64": ] ;|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64":  \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here 426 Step #12 - "compile-honggfuzz-address-x86_64": | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merg e499( | * r h s . _ i n tbe1r.vmaelrsg[ei(]b)2;); 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:499:/src/brpc/src/bvar/window.h12::53 :17:note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested herenote: Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _499v | a r - > o p ( ) (bv11.,m evr2g)e;(b Step #12 - "compile-honggfuzz-address-x86_64": 2 )| ; ^ 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:/src/brpc/src/bvar/window.h29::5312::17 : note: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested herein instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": 29 | re t53u | r n  o p ( v 1 , v 2 ) ;  Step #12 - "compile-honggfuzz-address-x86_64": _ v| ar ^- Step #12 - "compile-honggfuzz-address-x86_64": >op()(v1, v2/src/brpc/src/bvar/detail/series.h):;168: Step #12 - "compile-honggfuzz-address-x86_64": 13 :|  ^ 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/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": 168 | 29 | craeltlu_ronp_ roept(uvr1n,i nvg2_)v;oi Step #12 - "compile-honggfuzz-address-x86_64": d (| op ^, Step #12 - "compile-honggfuzz-address-x86_64": tmp, _data/src/brpc/src/bvar/detail/series.h.:s168e:c13o:n d(i)); 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":  ^ 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": 168 | call_op_r e116t | u r n i n g _ v oirde(toupr,n t mapp,p e_ndda_tsae.csoencdo(nvda(liu)e),; _ Step #12 - "compile-honggfuzz-address-x86_64": o 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/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 |  /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 hereer Step #12 - "compile-honggfuzz-address-x86_64": ies.append(_owner->get_value(1 )116) | ;  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": retur/src/brpc/src/bvar/window.hn:58 :a9p:p endnote: _sin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested hereec Step #12 - "compile-honggfuzz-address-x86_64": ond(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": | 58 | ^ Step #12 - "compile-honggfuzz-address-x86_64":  SeriesSa/src/brpc/src/bvar/window.hm:p65l:e25r:( Winnote: doin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested herewB Step #12 - "compile-honggfuzz-address-x86_64": ase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": | 65 ^ | Step #12 - "compile-honggfuzz-address-x86_64":   /src/brpc/src/bvar/window.h : 151 : 35 :  _note: sein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested hereri Step #12 - "compile-honggfuzz-address-x86_64": es.append(_owner->get_value(1) )151; |  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  _se/src/brpc/src/bvar/window.hr:i58e:s9_:s ampnote: lein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herer Step #12 - "compile-honggfuzz-address-x86_64": = new SeriesSampler (58 | t h i s  , _ vSaerr)i;es Step #12 - "compile-honggfuzz-address-x86_64": S a| mp ^l Step #12 - "compile-honggfuzz-address-x86_64": er(Window/src/brpc/src/bvar/latency_recorder.hB:a49s:e7*: ownnote: erin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here, Step #12 - "compile-honggfuzz-address-x86_64": R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^49 Step #12 - "compile-honggfuzz-address-x86_64": | class/src/brpc/src/bvar/window.h :L151a:t35e:n cyRecorderBnote: ain instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested herese { 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:132: 13: note: initializer of 'tmp_stack_array_size' is not a constant expression151 Step #12 - "compile-honggfuzz-address-x86_64": | 132 | _ser DEFINE_SMies_samplALLe_rA = new SeriesSampleRrR(AYt(huiisnt,3 _var2)_t, tm;p, rhs._num_ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7samples, 64: ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBasnote: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": e { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132426 |  | DEFINE_SMALchar name##_stack_array[sizeL_ARRAY(uint32_t, tmp,of(Tp) * name##_stack_array_si rhs._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": ze]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here426 Step #12 - "compile-honggfuzz-address-x86_64": | char name##219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here_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_si 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": ze Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_header.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/vlog_service.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_method.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/http_status_code.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second[ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/input_messenger.cpp.o 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/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :162:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 162 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :194:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 194 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :190:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 190 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/channel.cpp:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/memcache.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/usercode_backup_pool.cpp:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/usercode_backup_pool.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_message.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/nshead_pb_service_adaptor.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/couchbase.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/couchbase.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/parallel_channel.cpp.o 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :33:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 33 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :29:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 29 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 185 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :181:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 181 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_task.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/jemalloc_profiler.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/auto_concurrency_limiter.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs.[ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": _intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :173:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 173 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :169:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 169 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/load_balancer_with_naming.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/load_balancer_with_naming.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_rpc_protocol.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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consistent_hashing_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/constant_concurrency_limiter.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :16:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 16 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :12:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 12 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :153:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 153 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :149:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 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/brpc/details/ssl_helper.cpp:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * na[ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consul_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": me##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :190:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 190 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :186:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 186 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_authenticator.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": | In file included from /src/brpc/src/brpc/details/method_status.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_ ^ Step #12 - "compile-honggfuzz-address-x86_64": us(0) {/src/brpc/src/bvar/window.h:} Step #12 - "compile-honggfuzz-address-x86_64": 65: |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 25: /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 |  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 | Sa m ple tmspe; Step #12 - "compile-honggfuzz-address-x86_64": ries.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": /src/brpc/src/bvar/window.h:58:9: /src/brpc/src/bvar/detail/sampler.hnote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": : 9858: | S9eries:Sam note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | p takeler(WindowBase*_ owsample(); Step #12 - "compile-honggfuzz-address-x86_64": | ner, R* va ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.hr): Step #12 - "compile-honggfuzz-address-x86_64": 529: |  ^ 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 | 28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  _series_sampler/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64":  = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :170:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 170 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :126:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 126 | 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/couchbase_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/crc32c_checksum.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dh.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/periodic_task.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/discovery_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/periodic_naming_service.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: /src/brpc/src/bvar/detail/percentile.h:289:16:variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]  Step #12 - "compile-honggfuzz-address-x86_64": note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | 132 | me m s et( t hDEFIiNE_sSMAL,L 0,_ AsizRRAY(uint32_t, tmp, rhs._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_aeofrray_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | ( *this )); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  | get_interval_at(i).merg (void*) Step #12 - "compile-honggfuzz-address-x86_64": e(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/domain_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[[ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dynpart_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_authenticator.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_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/file_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/giano_authenticator.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/gzip_compress.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hasher.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_seco[ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http2_rpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": nd(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: 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:23note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 185 | tmp_stack_: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/channel.harray_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(th isun, s0,i gnseidzeo namf(*e##_thistas));ck_a Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": rray_size = (name##_s/src/brpc/src/bvar/detail/sampler.h:ize <= (maxsize) ? name##_size : 0)40: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":  ^ Step #12 - "compile-honggfuzz-address-x86_64": :181:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 181 | tmp_stack_array_si40 | ze Step #12 - "compile-honggfuzz-address-x86_64": |  Sa^ Step #12 - "compile-honggfuzz-address-x86_64": mple() : 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: [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http_rpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sample/src/brpc/src/bvar/detail/percentile.h:132:13: rwarning: =variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": new SeriesSam 132 | pler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/latency_recorder.h DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._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": :49:7426: | chnote: ain instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested herer Step #12 - "compile-honggfuzz-address-x86_64": name##_sta49c | k_calrarsays[ sLiatzeenocfyR(ecorTdpe)r B*a snea m{e# Step #12 - "compile-honggfuzz-address-x86_64": # _| sta ^c Step #12 - "compile-honggfuzz-address-x86_64": k_array_size];/src/brpc/src/bvar/detail/percentile.h : 132 : 13 :\ note:  Step #12 - "compile-honggfuzz-address-x86_64": initializer of 'tmp_stack_array_size' is not a constant expression | Step #12 - "compile-honggfuzz-address-x86_64":  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": 132 | /src/brpc/src/bvar/detail/percentile.h : 364 : 36:   note: DEin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested hereF Step #12 - "compile-honggfuzz-address-x86_64": INE _SM364A | L L_ A RRAY (u i n t 3 2 _ t , t m pg,e tr_hisn._tneurvaml__saamtp(leis), .6m4er)g;e( Step #12 - "compile-honggfuzz-address-x86_64": *rhs .| _i ^n Step #12 - "compile-honggfuzz-address-x86_64": te/src/brpc/src/butil/macros.hr:v426a:l42s:[ i])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": 426/src/brpc/src/bvar/detail/percentile.h | : 499 : 12 : chanote: rin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here n Step #12 - "compile-honggfuzz-address-x86_64": a me##_stack_array[si499z | e o f  ( Tp ) b*1 .nmaemreg#e#(_bs2t)a;ck Step #12 - "compile-honggfuzz-address-x86_64": _ a| rr ^a Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | y return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": _si/src/brpc/src/bvar/detail/series.hz:e168]:;13 :  \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161: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 here Step #12 - "compile-honggfuzz-address-x86_64": 168 | note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp call_op_returning_void(op, _tsmtap, c_data.sek_array_scioze Step #12 - "compile-honggfuzz-address-x86_64": nd(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/percentile.h:132:13:/src/brpc/src/bvar/detail/series.h :116:note: 16:declared here  Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here/src/brpc/src/butil/macros.h:425 Step #12 - "compile-honggfuzz-address-x86_64": : 20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_seco425nd | ( v a l uec,o n_sotp );u Step #12 - "compile-honggfuzz-address-x86_64": n si| gn ^e Step #12 - "compile-honggfuzz-address-x86_64": d name##/src/brpc/src/bvar/window.h_:s65t:a25c:k _arranote: y_in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested heresiz Step #12 - "compile-honggfuzz-address-x86_64": e = (name##_si65z | e < = ( m a x s i z e ) ? n_saemrei#e#_ss.iazpep e:n d(_0ow)n;er-> g\et Step #12 - "compile-honggfuzz-address-x86_64": _ va| lu ^e Step #12 - "compile-honggfuzz-address-x86_64": (1)):;157: Step #12 - "compile-honggfuzz-address-x86_64": 1 :|  ^ Step #12 - "compile-honggfuzz-address-x86_64": note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: 157note: | tin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested heremp Step #12 - "compile-honggfuzz-address-x86_64": _ stack_array58_ | s i z e  Step #12 - "compile-honggfuzz-address-x86_64": | S^e Step #12 - "compile-honggfuzz-address-x86_64": riesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp/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": 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: 219 | t note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": mp_stack_arra 426y | 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:size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64":  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": In file included from /src/brpc/src/brpc/policy/auto_concurrency_limiter.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/auto_concurrency_limiter.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/parallel_channel.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/partition_channel.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hulu_pbrpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/list_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/nshead_pb_service_adaptor.cpp:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/locality_aware_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :141:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 141 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/memcache_binary_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] 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/constant_concurrency_limiter.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nacos_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._nu/src/brpc/src/bvar/detail/percentile.h:132:13:m_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#warning: #_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ 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": :217:1:  132 | note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 217 | tmp_sta c k_array_siz e DEF Step #12 - "compile-honggfuzz-address-x86_64": IN | E_^ Step #12 - "compile-honggfuzz-address-x86_64": SMALL_ARRAY(uint32_/src/brpc/src/bvar/detail/percentile.h:132:13t, tmp, rhs._num_samples, 64); 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 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~: Step #12 - "compile-honggfuzz-address-x86_64": note: /src/brpc/src/butil/macros.hexpanded from macro 'DEFINE_SMALL_ARRAY':426 Step #12 - "compile-honggfuzz-address-x86_64": : 29: note: expanded from macro 'DEFINE_SMALL_ARRAY'425 Step #12 - "compile-honggfuzz-address-x86_64": | const unsigned name##_stack_426 | array c_sizehar name##_stack_array = (name##_[sisize ::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": ; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :213:1 364 | :  note: expanded from here  Step #12 - "compile-honggfuzz-address-x86_64": get_inte213rv | alt_mapt_(si).metracgke_(a*rrrhasy.__siinzte Step #12 - "compile-honggfuzz-address-x86_64": er v| al^ 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:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | [ 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": DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._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(TIn file included from p) * name##_stack_array_size]; \/src/brpc/src/brpc/policy/consistent_hashing_load_balancer.cpp Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ::16126:: Step #12 - "compile-honggfuzz-address-x86_64": 1In file included from :/src/brpc/src/brpc/socket.h :34: Step #12 - "compile-honggfuzz-address-x86_64": note: In file included from /src/brpc/src/brpc/details/ssl_helper.hexpanded from here:33 Step #12 - "compile-honggfuzz-address-x86_64": : Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h: 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.h25:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": : 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 425/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": cIn file included from o/src/brpc/src/bvar/utils/lock_timer.hn:s28t: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:u26n: Step #12 - "compile-honggfuzz-address-x86_64": sig/src/brpc/src/bvar/detail/percentile.hn:e289d:16 :n amewarning: ##_first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]st Step #12 - "compile-honggfuzz-address-x86_64": a ck_array_size = (name##_size <= (maxsiz289e) | ? n a m e # #m_esmiszete( :t hi0s),; \0 Step #12 - "compile-honggfuzz-address-x86_64": , | s ^i Step #12 - "compile-honggfuzz-address-x86_64": zeof(*this:157):)1;: Step #12 - "compile-honggfuzz-address-x86_64":  |  ^note: Step #12 - "compile-honggfuzz-address-x86_64": expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_s/src/brpc/src/bvar/detail/sampler.htack_a:r40r:a16y:_ sizenote: 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 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char n/src/brpc/src/bvar/detail/percentile.h:132:13: ame##_stawarning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]ck_array[sizeof(Tp) Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE* name##__SsMtAaLcLk__AaRrRrAaYy(_usiinzte3]2;_ t , t m p\, Step #12 - "compile-honggfuzz-address-x86_64": r h| s. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_ Step #12 - "compile-honggfuzz-address-x86_64": num_sampl/src/brpc/src/bvar/detail/percentile.he:s364,:36 : 6note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here4 Step #12 - "compile-honggfuzz-address-x86_64": ) 364 | ; 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 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_ se c o n d ( varleuteu,r n_o pa)pp;en Step #12 - "compile-honggfuzz-address-x86_64": d _| se ^c Step #12 - "compile-honggfuzz-address-x86_64": ond(value, _o/src/brpc/src/bvar/window.hp); Step #12 - "compile-honggfuzz-address-x86_64": | :65: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 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 here65 |  Step #12 - "compile-honggfuzz-address-x86_64": 65 | _ s e r i e s . a p p _esnedr(ies.append(_owne_ro-w>ngeetr_-v>geatl_vuael(ue1()1);)); Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": | |  ^ ^ Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:/src/brpc/src/bvar/window.h58::589:: 9: note: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' 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": 5858 | | 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 | 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 | _s e r_iseesr_iseasm_pslaemrp =l new SeriesSampler(ther = new SeriesSis, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ampler(this, _var);/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": Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  49 | cla/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": ss La49t | eclnasIn file included from s L/src/brpc/src/brpc/policy/consul_naming_service.cppatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": :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 426 | char name##_stack_array[sizeof(T:28: Step #12 - "compile-honggfuzz-address-x86_64": p) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :203:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 203 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_scyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": In file included from ize =| (n ^ Step #12 - "compile-honggfuzz-address-x86_64": ame##_size <= (/src/brpc/src/bvar/detail/percentile.hm:a132x:s13i:z e) note: ? initializer of 'tmp_stack_array_size' is not a constant expressionna Step #12 - "compile-honggfuzz-address-x86_64": me##_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": 132 | DEFIN E199_ | StMmApL_Ls_tAaRcRkA_Ya(rurianyt_3s2i_zte, Step #12 - "compile-honggfuzz-address-x86_64": t m| p,^ Step #12 - "compile-honggfuzz-address-x86_64": rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h :426 | ch26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memar name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsizse) ?e tn(amteh##i_ssi,z e 0: , 0s)i;z e\ Step #12 - "compile-honggfuzz-address-x86_64": of(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16:|  ^ Step #12 - "compile-honggfuzz-address-x86_64": note: :162in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": :1: 40note:  | expanded from here  Step #12 - "compile-honggfuzz-address-x86_64": 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": 162116 | | tmp_st a c k _ a r r a y _Ssaimzepl Step #12 - "compile-honggfuzz-address-x86_64": e <| T> ^t Step #12 - "compile-honggfuzz-address-x86_64": mp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_mcpack_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _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 | SIn file included from /src/brpc/src/brpc/policy/file_naming_service.cpperiesSa:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]mpler( Step #12 - "compile-honggfuzz-address-x86_64": Window 289Bas | memset(this, 0, sizeofe* o(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": wner, R* /src/brpc/src/bvar/detail/sampler.h:40:16var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": : /src/brpc/src/bvar/window.h:151:note: 35in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here: Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Samp151l | e ( ) : d a t a ( ) _,se rtiiemse__sus(amp0le) r{ }= Step #12 - "compile-honggfuzz-address-x86_64": | n ^e Step #12 - "compile-honggfuzz-address-x86_64": w Seri/src/brpc/src/bvar/detail/sampler.he:s116S:a23m:p lernote: (in instantiation of member function 'bvar::detail::Sample>::Sample' requested heret Step #12 - "compile-honggfuzz-address-x86_64": h is, _var116) | ;  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":   S/src/brpc/src/bvar/latency_recorder.ham:p49l:e7<:T > note: tmin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested herep; Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 49 | cla/src/brpc/src/bvar/detail/sampler.hs:98s:9 :L atenote: nin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herecy Step #12 - "compile-honggfuzz-address-x86_64": R ecord98er | B a s e {  Step #12 - "compile-honggfuzz-address-x86_64": | ta ^k Step #12 - "compile-honggfuzz-address-x86_64": e_sampl/src/brpc/src/bvar/detail/percentile.he:(132):;13 Step #12 - "compile-honggfuzz-address-x86_64": | : ^ 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":  /src/brpc/src/bvar/detail/percentile.h:529:28: 132 |  note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here  Step #12 - "compile-honggfuzz-address-x86_64": DEF529I | N E _ S M A L L _ A R R A_Ys(auminptl3e2_t, rt m=p , nrehws. _snaummp_lsearm_ptlyepse,( t6h4is);); 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:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char /src/brpc/src/bvar/detail/percentile.hname##_s:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memsetack_arrat(thiy[sizeof(Tp) * name##_stack_array_size]; s\ Step #12 - "compile-honggfuzz-address-x86_64": , | 0 ^ Step #12 - "compile-honggfuzz-address-x86_64": , sizeof:(183*:1t:h isnote: ))expanded from here; Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64":  183 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :179:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 179 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._n/src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:84:30: um_samples, 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":  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426: 84 | char header_and_meta[12 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:84:35: note: initializer of 'meta_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 84 | char header_and_meta[12 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:82:20: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 82 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/public_pbrpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :223:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 223 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/discovery_naming_service.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/randomized_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_authenticator.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :86:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 86 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :82:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 82 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/gzip_compress.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/couchbase_protocol.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/couchbase_protocol.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/remote_file_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :195:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 195 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :191:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 191 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/round_robin_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :225:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 225 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :221:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 221 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :223:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 223 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/rtmp_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/snappy_compress.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.cpp:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/sofa_pbrpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :189:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 189 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 185 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/streaming_rpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/timeout_concurrency_limiter.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/locality_aware_load_balancer.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/nacos_naming_service.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/nacos_naming_service.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, si2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": zeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/ubrpc2pb_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 185 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :181:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 181 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_randomized_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/mongo_protocol.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :223:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 223 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :40:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 40 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :36:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 36 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/memcache_binary_protocol.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/nova_pbrpc_protocol.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :110:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 110 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :106:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 106 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_round_robin_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /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": In file included from /src/brpc/src/brpc/policy/nshead_mcpack_protocol.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: 132:13: 40 | warning:   variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] S Step #12 - "compile-honggfuzz-address-x86_64": ample() : data 132 | (), tim DEFINEe_S_MuAsL(L_ARRAY(uint32_t, tmp, rhs._num_samp0l)es,  64{}) Step #12 - "compile-honggfuzz-address-x86_64": | ; ^ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h/src/brpc/src/bvar/detail/sampler.h:116: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:36423::36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herenote: 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": 364 | 116 | g et Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": 529| :28 ^ Step #12 - "compile-honggfuzz-address-x86_64": : note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here/src/brpc/src/bvar/detail/percentile.h: Step #12 - "compile-honggfuzz-address-x86_64": 499 :12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | 499 | _ s a m pbl1e.rm e=r ge(nbe2w); Step #12 - "compile-honggfuzz-address-x86_64": sampl| er ^_ Step #12 - "compile-honggfuzz-address-x86_64": type(this/src/brpc/src/bvar/window.h:)53;:17 Step #12 - "compile-honggfuzz-address-x86_64": : |  ^note: Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, 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:/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 |   note:  in 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": m emset(this168 | ,  0  ,  s i z ecoafll(_*opt_hriIn file included from eturn/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:s37: 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 Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": i/src/brpc/src/brpc/versioned_ref_with_id.hng_:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.hvoid(op, tmp, _data.second(i)); |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": :32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler =  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": new 116 | s returna mpappend_second(value, l_op);e Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": r/src/brpc/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": t/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": yp 58 | SeriesSampler(WindoewBase* ow(ner, R* var)th Step #12 - "compile-honggfuzz-address-x86_64": | is ^ 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":  Step #12 - "compile-honggfuzz-address-x86_64": |  151 | _series_sampler = n ^ew Step #12 - "compile-honggfuzz-address-x86_64":  SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64":  215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/randomized_load_balancer.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/remote_file_naming_service.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/progressive_attachment.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_/src/brpc/src/bvar/detail/percentile.h:132:13void(op, tmp,: _dawarning: ta.second(i));variable 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": /src/brpc/src/bvar/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": 132 | 116 | re tur n  app eDEFINE_SMAnLL_ARRAY(uint32_t, tmp, rhs._num_sampdles, 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 | ch_seacrond (nvaamleu#e#,_ s_toapc)k;_a Step #12 - "compile-honggfuzz-address-x86_64": r r| ay ^[ Step #12 - "compile-honggfuzz-address-x86_64": sizeof(T/src/brpc/src/bvar/window.hp:)65 :*25 :n amenote: ##_in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested herest Step #12 - "compile-honggfuzz-address-x86_64": ac k_arra65y_ | s i z e ] ; \  Step #12 - "compile-honggfuzz-address-x86_64": | _s ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~e Step #12 - "compile-honggfuzz-address-x86_64": ries.ap/src/brpc/src/bvar/detail/percentile.hp:e364n:d(36_:o wnenote: r-in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here>ge Step #12 - "compile-honggfuzz-address-x86_64": t _value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 364 | /src/brpc/src/bvar/window.h : 58 : 9 :  genote: t_in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested hereint Step #12 - "compile-honggfuzz-address-x86_64": e rval_at(i).me58r | g e (* r h s . _ iSnertieersvSaalmsp[li]e)r;(W Step #12 - "compile-honggfuzz-address-x86_64": i n| do ^w Step #12 - "compile-honggfuzz-address-x86_64": Base* own/src/brpc/src/bvar/detail/percentile.he:r499,: 12R:* vanote: r)in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 499/src/brpc/src/bvar/window.h | : 151 : 35 :   note: b1.min instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested hereerg Step #12 - "compile-honggfuzz-address-x86_64": e (b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 151/src/brpc/src/bvar/window.h | : 53 : 17 :   note:  in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here  _ Step #12 - "compile-honggfuzz-address-x86_64": s eries_sampl53e | r =  n e w  S e r i e s S_avmaprl-e>ro(p(t)(hvi1, vs, 2_v)a;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/call_op_returning_void.h: 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 here29:12:  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": 4929 | |  c l ass LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": return op(v1, v/src/brpc/src/bvar/detail/percentile.h2):;132: Step #12 - "compile-honggfuzz-address-x86_64": 13: |  ^note: Step #12 - "compile-honggfuzz-address-x86_64": initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h132: | 168 : 13 :   note:  in 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": D EFINE_SMALL_ARRAY(uin168 | t 3 2_ t , t m p , carlhls_.o_pn_urme_tsuarmpnliensg,_ vo6i4d()o;p, Step #12 - "compile-honggfuzz-address-x86_64": t| mp ^, Step #12 - "compile-honggfuzz-address-x86_64": _data.se/src/brpc/src/butil/macros.hc:on426d:(42i)):;  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/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here426 | Step #12 - "compile-honggfuzz-address-x86_64": char116 | n a m e 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##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: :58:9note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": :  219note: | tin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested heremp Step #12 - "compile-honggfuzz-address-x86_64": _stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 58 | /src/brpc/src/bvar/detail/percentile.h :132:13:  note: Serdeclared here Step #12 - "compile-honggfuzz-address-x86_64": iesSa/src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": mpl 425e | r ( W i ndcowBase* owneonrst, unsigned name##_stack _Ra*r rvaayr_)si Step #12 - "compile-honggfuzz-address-x86_64": z e| = ^ Step #12 - "compile-honggfuzz-address-x86_64": (name##_size <= (maxs/src/brpc/src/bvar/window.hi:z151e:)35 :? nanote: mein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here## Step #12 - "compile-honggfuzz-address-x86_64": _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_st ack_array_size151 | Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64":  _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": note: 132 | in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | cla ss L atencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMAL DEFINE_SMALL_ARRAY(uint32_t, tmL_ARRAY(uint32_t, tmp, rhs._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 | p, rhs._num_samples,  64c);h Step #12 - "compile-honggfuzz-address-x86_64": a | r  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": n/src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY'a Step #12 - "compile-honggfuzz-address-x86_64": me##_sta ck_array426 | [ sizecharof(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": na 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": m/src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": e## 425 | const unsigned name##_stack_array_siz_set a=c k(_arrnamea#y#[_sisziez e Step #12 - "compile-honggfuzz-address-x86_64": :162:1: note: /src/brpc/src/bvar/detail/percentile.hexpanded from here:364 Step #12 - "compile-honggfuzz-address-x86_64": :36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 162 | tm364p_ | s t a c k _ a r r a y _ s i z e  Step #12 - "compile-honggfuzz-address-x86_64": | get^_ Step #12 - "compile-honggfuzz-address-x86_64": interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/snappy_compress.cpp/src/brpc/src/bvar/detail/series.h:168:13: note: in 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": :22: Step #12 - "compile-honggfuzz-address-x86_64": 168 | 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": call_op_retIn file included from /src/brpc/src/brpc/versioned_ref_with_id.h:ur26n: Step #12 - "compile-honggfuzz-address-x86_64": In file included from in/src/brpc/src/bthread/bthread.h:32g: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h_vo:i27d(op: 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 tm/src/brpc/src/bvar/latency_recorder.hp:,26 : Step #12 - "compile-honggfuzz-address-x86_64": _/src/brpc/src/bvar/detail/percentile.h:289da:ta16.s:ec ond(iwarning: )); 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": /src/brpc/src/bvar/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 | retu r289n | a pp en d_ second(valu e, _moepm)s;et Step #12 - "compile-honggfuzz-address-x86_64": ( | t ^h Step #12 - "compile-honggfuzz-address-x86_64": is,/src/brpc/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": 0 65 | ,  _sseries.append(_owner-izeo>geft_v(*althisue(1)); Step #12 - "compile-honggfuzz-address-x86_64": )); Step #12 - "compile-honggfuzz-address-x86_64": | |  ^ ^ Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9:/src/brpc/src/bvar/detail/sampler.h :40:16: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herenote:  Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | 40 | S e r i eSsaSmapmlpel(e)r (:W idnadtoaw(B)a,s et*i moew_nuesr(, 0R*) v{a}r) Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": | | ^ Step #12 - "compile-honggfuzz-address-x86_64": ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h/src/brpc/src/bvar/detail/sampler.h::151116::3523:: note: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested 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": 116 | 151 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64":  _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :223:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 223 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/round_robin_load_balancer.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/block_pool.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_endpoint.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :189:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 189 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 185 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_helper.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/redis_protocol.cpp:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_command.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[s[ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_reply.cpp.o 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": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :223:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 223 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/reloadable_flags.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*/2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": ]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/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": 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": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:In file included from 1531:18/src/brpc/src/brpc/protocol.h: :32warning: : Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.hvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]:25 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:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16:  warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]1531 Step #12 - "compile-honggfuzz-address-x86_64": | 289 | memcshaert( buf[header_lthis,e n 0+ ,4/* sizeextendeof(*thid tss*/)]);; 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/brpc/policy/rtmp_protocol.cpp:1531:18: /src/brpc/src/bvar/detail/sampler.h:40note: :16:read of non-const variable 'header_len' is not allowed in a constant expression  Step #12 - "compile-honggfuzz-address-x86_64": note: /src/brpc/src/brpc/policy/rtmp_protocol.cppin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here:1429 Step #12 - "compile-honggfuzz-address-x86_64": : 14: note: declared here40 | Step #12 - "compile-honggfuzz-address-x86_64": Sample() 1429: | d a t a (u)i,n tt3ime_us(02_t header_len = bh.header_length; 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: /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 | note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | c Sahar mple tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98b:u9f[h:e anote: der_lin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | en ]; Step #12 - "compile-honggfuzz-address-x86_64": | take_ ^~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp/src/brpc/src/bvar/detail/percentile.h::529:28:1570:22: note: read of non-const variable 'header_len' is not allowed in a constant expressionnote:  Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cppin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here:1429 Step #12 - "compile-honggfuzz-address-x86_64": :14: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler 1429= new | uint32_t header_len = bh.header_length; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/restful.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*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/policy/timeout_concurrency_limiter.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/retry_policy.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/timeout_concurrency_limiter.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp: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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:144:30 426 | : char name##_stack_array[sizeof(Tp) * name##_warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]stack Step #12 - "compile-honggfuzz-address-x86_64": _array_s 144 | i char heze]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ader_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": 217 144 | char header_and_meta[24 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :1: note: /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cppexpanded from here Step #12 - "compile-honggfuzz-address-x86_64": :142:20: note:  217 | declared here Step #12 - "compile-honggfuzz-address-x86_64": tmp_st 142 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :213:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 213 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_voi2d(o warningps generated. 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:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :188:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 188 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :184:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 184 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_dump.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_pb_message_factory.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rtmp.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/selective_channel.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] 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": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_response.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server.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/policy/weighted_randomized_load_balancer.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server_id.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/simple_data_pool.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/rtmp_protocol.cpp:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | 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 | [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket.cpp.o 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::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket_map.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 4 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/span.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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 2/src/brpc/src/bvar/detail/percentile.h warning:s499: generated12. 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": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner/src/brpc/src/bvar/detail/percentile.h-:>132g:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": et_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  132 | DEFINE_S/src/brpc/src/bvar/window.h:58:9: MAnote: LLin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here_A Step #12 - "compile-honggfuzz-address-x86_64": RRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64":  58 |  /src/brpc/src/butil/macros.h : 426 : 29 : Sernote: ieexpanded from macro 'DEFINE_SMALL_ARRAY'sS Step #12 - "compile-honggfuzz-address-x86_64": ampler(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": 426151 | |  c h a r  n a_msee#r#i_esst_ascakm_paler = new SeriesSrray[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, a_opmpler)(; Step #12 - "compile-honggfuzz-address-x86_64": t h| is ^ Step #12 - "compile-honggfuzz-address-x86_64": , _var);/src/brpc/src/bvar/window.h Step #12 - "compile-honggfuzz-address-x86_64": : 65| :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 Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h :49:7: 65note: |  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here  Step #12 - "compile-honggfuzz-address-x86_64": 49 | _cslearsises .Laaptpeenncdy(R_eocwonerrd-e>gertB_avsael u{e( Step #12 - "compile-honggfuzz-address-x86_64":  1| ) ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:); 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": 132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | 58 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64":  SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :223:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 223 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ssl_options.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/weighted_round_robin_load_balancer.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/stream.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/trackme.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/progressive_attachment.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sample/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": r_ty pe132 | (this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  D/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": EF 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": INE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ts.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :182:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 182 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :178:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 178 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [100%] 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :223:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 223 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.cpp:42: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :195:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 195 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :191:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 191 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/rpc_dump.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server_id.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server_id.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/retry_policy.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/retry_policy.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :200:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 200 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :194:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 194 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :190:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 190 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/restful.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/restful.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. 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": /src/brpc/src/brpc/selective_channel.cpp:398:20: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 398 | CallId ids[_nalloc]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/selective_channel.cpp:398:20: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/selective_channel.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/span.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :14:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 14 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :10:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 10 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/rtmp.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 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/socket.cpp:42: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/event_dispatcher.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/server.cpp:2004:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 2004 | char buf[fullname_len]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/server.cpp:2004:18: note: initializer of 'fullname_len' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/server.cpp:2001:18: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 2001 | const size_t fullname_len = service_name.size() + 1 + method_name.size(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return/src/brpc/src/bvar/detail/percentile.h: 132o:p13(:v 1, warning: v2)variable 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":  132 | /src/brpc/src/bvar/detail/series.h : 168 : 13 :   note:  in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here D Step #12 - "compile-honggfuzz-address-x86_64": EFINE_SMALL_ARRAY(uint32_t, tmp, rhs._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": 168 | call_op_retu r426n | i n g _ vocihda(rop ,n atmmep#,# __sdtaactka_.asrercaoyn[d(sii)z)e;of Step #12 - "compile-honggfuzz-address-x86_64":  (| Tp ^) Step #12 - "compile-honggfuzz-address-x86_64": * name##_stac/src/brpc/src/bvar/detail/series.hk:_116a:r16r:a y_snote: izin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested heree] Step #12 - "compile-honggfuzz-address-x86_64": ; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64":  116 |  /src/brpc/src/bvar/detail/percentile.h : 364 : 36:r etunote: rnin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": append_sec o364n | d ( v a l u e , _ o p ) ;  Step #12 - "compile-honggfuzz-address-x86_64": | g ^et_i Step #12 - "compile-honggfuzz-address-x86_64": nterval_at(i/src/brpc/src/bvar/window.h):.65m:e25r:g e(*note: rhin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested heres._ Step #12 - "compile-honggfuzz-address-x86_64": intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1. merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": | 65 ^ 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": se 168 | r i e s . a p p e n d (c_aolwln_eorp-_>rgeettu_rvnailnuge_(vo1id)()o; 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 Sp, 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_secoend(rviaelsuSea,m p_loepr)(;t Step #12 - "compile-honggfuzz-address-x86_64": h i| s, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | ^cl Step #12 - "compile-honggfuzz-address-x86_64": ass LatencyRecor/src/brpc/src/bvar/window.hd:e65r:B25a:s e {note:  Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here | Step #12 - "compile-honggfuzz-address-x86_64":  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: 65 | note:  initializer of 'tmp_stack_array_size' is not a constant expression  Step #12 - "compile-honggfuzz-address-x86_64": _series.append(_owner->get_v a132l | u e (  1  ) ) ;  Step #12 - "compile-honggfuzz-address-x86_64": | DE ^F Step #12 - "compile-honggfuzz-address-x86_64": INE_SM/src/brpc/src/bvar/window.hA:L58L:_9A:R RAYnote: (uin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herein Step #12 - "compile-honggfuzz-address-x86_64": t32_t, tmp, rhs._nu m58_ | s a m p l e s , Se6r4ie)s;Sa Step #12 - "compile-honggfuzz-address-x86_64": m p| le ^r Step #12 - "compile-honggfuzz-address-x86_64": (WindowBase*/src/brpc/src/butil/macros.h :o426w:n42e:r , Rnote: * expanded from macro 'DEFINE_SMALL_ARRAY'va Step #12 - "compile-honggfuzz-address-x86_64": r) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_ar r151a | y [  s i z e o f  ( T p_)s e*r ineasm_es#a#m_psltearc k=_ arnreay_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared herew Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20 :S erinote: esexpanded from macro 'DEFINE_SMALL_ARRAY'Sa Step #12 - "compile-honggfuzz-address-x86_64": mpler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :183:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 183 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :179:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 179 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/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/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": In file included from 132/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": DIn file included from E/src/brpc/src/brpc/versioned_ref_with_id.hF:I26N: Step #12 - "compile-honggfuzz-address-x86_64": EIn file included from _/src/brpc/src/bthread/bthread.hS:M32A: Step #12 - "compile-honggfuzz-address-x86_64": LIn file included from L/src/brpc/src/bthread/mutex.h_:A27R: Step #12 - "compile-honggfuzz-address-x86_64": RIn file included from A/src/brpc/src/bvar/utils/lock_timer.hY:(28u: Step #12 - "compile-honggfuzz-address-x86_64": iIn file included from n/src/brpc/src/bvar/latency_recorder.ht:3262: Step #12 - "compile-honggfuzz-address-x86_64": _t/src/brpc/src/bvar/detail/percentile.h:289:16: , twarning: mp,first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] r Step #12 - "compile-honggfuzz-address-x86_64": hs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/butil/macros.h289: | 426 : 29 : menote: mseexpanded from macro 'DEFINE_SMALL_ARRAY't( Step #12 - "compile-honggfuzz-address-x86_64": this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  426/src/brpc/src/bvar/detail/sampler.h | : 40 : 16 : chanote: rin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here n Step #12 - "compile-honggfuzz-address-x86_64": ame##_stac k40_ | a r r a yS[amspilzee(o)f :( Tdpa) t*a n(a)m,e #t#i_mstea_cuk_sa(rra0y_)s i{z}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/sampler.h :| 116: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~23 Step #12 - "compile-honggfuzz-address-x86_64": : note: /src/brpc/src/bvar/detail/percentile.hin instantiation of member function 'bvar::detail::Sample>::Sample' requested here:364 Step #12 - "compile-honggfuzz-address-x86_64": :36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": 364 | |  ^ Step #12 - "compile-honggfuzz-address-x86_64":   /src/brpc/src/bvar/detail/sampler.h : 98 : 9 : getnote: _iin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herent Step #12 - "compile-honggfuzz-address-x86_64": erval_at(i).mer g98e | ( * r h s . _ i nttaekrev_aslasm[pil]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:529:28: note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here|  Step #12 - "compile-honggfuzz-address-x86_64": ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: 529 | note:  in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here  Step #12 - "compile-honggfuzz-address-x86_64": _sampler = new sampler_type(t h499i | s  ) ;  Step #12 - "compile-honggfuzz-address-x86_64": | b ^1 Step #12 - "compile-honggfuzz-address-x86_64": .merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _va/src/brpc/src/bvar/detail/percentile.hr:-289>:o16p:( )(vnote: 1,explicitly cast the pointer to silence this warning v Step #12 - "compile-honggfuzz-address-x86_64": 2); 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": 289 | 29 | mremset(thiestu,r n0 o,p (vs1i,z evo2f);(* Step #12 - "compile-honggfuzz-address-x86_64":  t| hi ^s 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: (void*) 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:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :182:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 182 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :178:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 178 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 185 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :181:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 181 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server.cpp:36: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :162:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 162 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :9:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 9 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :5:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 5 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/ts.cpp:38: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/rtmp_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :206:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 206 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :202:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 202 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :204:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 204 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :200:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 200 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :25:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 25 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :21:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 21 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 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": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX static library ../output/lib/libbrpc-static-debug.a Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_butil.dir/fuzzing/fuzz_butil.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_butil Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_butil Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_esp.dir/fuzzing/fuzz_esp.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_esp.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :189:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 189 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 185 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_esp Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_esp Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_hpack.dir/fuzzing/fuzz_hpack.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_hpack Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_hpack Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_http.dir/fuzzing/fuzz_http.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_http.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :40:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 40 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :36:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 36 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_http Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_http Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 15%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/fuzz_hulu.dir/fuzzing/fuzz_hulu.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_hulu.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :242:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 242 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :238:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 238 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_hulu Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_hulu Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_json.dir/fuzzing/fuzz_json.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_json Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_json Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_redis.dir/fuzzing/fuzz_redis.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_redis Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_redis Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_shead.dir/fuzzing/fuzz_shead.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_shead.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/nshead_pb_service_adaptor.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :40:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 40 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :36:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 36 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_shead Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_shead Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_sofa.dir/fuzzing/fuzz_sofa.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_sofa.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :222:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 222 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :218:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 218 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_sofa Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_sofa Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 15%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/fuzz_uri.dir/fuzzing/fuzz_uri.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_uri.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/rtmp.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :195:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 195 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :191:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 191 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_uri Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_uri Step #12 - "compile-honggfuzz-address-x86_64": + cp test/fuzz_butil test/fuzz_esp test/fuzz_hpack test/fuzz_http test/fuzz_hulu test/fuzz_json test/fuzz_redis test/fuzz_shead test/fuzz_sofa test/fuzz_uri /workspace/out/honggfuzz-address-x86_64/ Step #12 - "compile-honggfuzz-address-x86_64": + pushd /lib/x86_64-linux-gnu/ Step #12 - "compile-honggfuzz-address-x86_64": /lib/x86_64-linux-gnu /src/brpc/build Step #12 - "compile-honggfuzz-address-x86_64": + mkdir -p /workspace/out/honggfuzz-address-x86_64/lib/ Step #12 - "compile-honggfuzz-address-x86_64": + cp libgflags.a libgflags.so libgflags.so.2.2 libgflags.so.2.2.2 libgflags_nothreads.a libgflags_nothreads.so libgflags_nothreads.so.2.2 libgflags_nothreads.so.2.2.2 libprotobuf-lite.a libprotobuf-lite.so libprotobuf-lite.so.17 libprotobuf-lite.so.17.0.0 libprotobuf.a libprotobuf.so libprotobuf.so.17 libprotobuf.so.17.0.0 libleveldb.a libleveldb.so libleveldb.so.1.22.0 libleveldb.so.1d libprotoc.a libprotoc.so libprotoc.so.17 libprotoc.so.17.0.0 libsnappy-shared.a libsnappy.a libsnappy.so libsnappy.so.1 libsnappy.so.1.1.8 /workspace/out/honggfuzz-address-x86_64/lib/. Step #12 - "compile-honggfuzz-address-x86_64": + popd Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/build Step #12 - "compile-honggfuzz-address-x86_64": + pushd /src/brpc/test/fuzzing Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/test/fuzzing /src/brpc/build Step #12 - "compile-honggfuzz-address-x86_64": + zip /workspace/out/honggfuzz-address-x86_64/fuzz_json_seed_corpus.zip fuzz_json_seed_corpus/info1.json fuzz_json_seed_corpus/info2.json fuzz_json_seed_corpus/info3.json Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_json_seed_corpus/info1.json (deflated 10%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_json_seed_corpus/info2.json (deflated 17%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_json_seed_corpus/info3.json (deflated 44%) Step #12 - "compile-honggfuzz-address-x86_64": + zip /workspace/out/honggfuzz-address-x86_64/fuzz_uri_seed_corpus.zip fuzz_uri_seed_corpus/data_1.rtmp fuzz_uri_seed_corpus/data_1.uri fuzz_uri_seed_corpus/data_2.uri Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_uri_seed_corpus/data_1.rtmp (stored 0%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_uri_seed_corpus/data_1.uri (stored 0%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_uri_seed_corpus/data_2.uri (stored 0%) Step #12 - "compile-honggfuzz-address-x86_64": + zip /workspace/out/honggfuzz-address-x86_64/fuzz_redis_seed_corpus.zip fuzz_redis_seed_corpus/command_parser.redis fuzz_redis_seed_corpus/request.redis Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_redis_seed_corpus/command_parser.redis (deflated 26%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_redis_seed_corpus/request.redis (stored 0%) Step #12 - "compile-honggfuzz-address-x86_64": + zip /workspace/out/honggfuzz-address-x86_64/fuzz_http_seed_corpus.zip fuzz_http_seed_corpus/http_request.http fuzz_http_seed_corpus/http_request_v2.http Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_http_seed_corpus/http_request.http (deflated 19%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_http_seed_corpus/http_request_v2.http (deflated 35%) Step #12 - "compile-honggfuzz-address-x86_64": + zip /workspace/out/honggfuzz-address-x86_64/fuzz_butil_seed_corpus.zip fuzz_butil_seed_corpus/base64_decoded.txt fuzz_butil_seed_corpus/base64_encoded.txt fuzz_butil_seed_corpus/crc32c.data Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_butil_seed_corpus/base64_decoded.txt (stored 0%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_butil_seed_corpus/base64_encoded.txt (stored 0%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_butil_seed_corpus/crc32c.data (deflated 63%) Step #12 - "compile-honggfuzz-address-x86_64": + zip /workspace/out/honggfuzz-address-x86_64/fuzz_hpack_seed_corpus.zip fuzz_hpack_seed_corpus/header_never_indexed.hpack fuzz_hpack_seed_corpus/header_with_indexing.hpack fuzz_hpack_seed_corpus/header_without_indexing.hpack fuzz_hpack_seed_corpus/requests_without_huffman.hpack fuzz_hpack_seed_corpus/responses_without_huffman.hpack Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_hpack_seed_corpus/header_never_indexed.hpack (stored 0%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_hpack_seed_corpus/header_with_indexing.hpack (deflated 15%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_hpack_seed_corpus/header_without_indexing.hpack (stored 0%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_hpack_seed_corpus/requests_without_huffman.hpack (deflated 10%) Step #12 - "compile-honggfuzz-address-x86_64": adding: fuzz_hpack_seed_corpus/responses_without_huffman.hpack (deflated 1%) Step #12 - "compile-honggfuzz-address-x86_64": + popd Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/build Finished Step #12 - "compile-honggfuzz-address-x86_64" Starting Step #13 - "build-check-honggfuzz-address-x86_64" Step #13 - "build-check-honggfuzz-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpl5x9eoo0/fuzz_json Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpl5x9eoo0/fuzz_shead Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpl5x9eoo0/fuzz_butil Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpl5x9eoo0/fuzz_esp Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpl5x9eoo0/fuzz_redis Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpl5x9eoo0/fuzz_hpack Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpl5x9eoo0/fuzz_http Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpl5x9eoo0/fuzz_hulu Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpl5x9eoo0/fuzz_uri Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpl5x9eoo0/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 673 --:--:-- --:--:-- --:--:-- 674 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 63 201M 0 0 63 128M 0 159M 0:00:01 --:--:-- 0:00:01 159M 100 201M 0 0 100 201M 0 140M 0:00:01 0:00:01 --:--:-- 140M 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 398 --:--:-- --:--:-- --:--:-- 400 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 155 --:--:-- --:--:-- --:--:-- 155 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.4s) 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 addressbook.pb.h, addressbook.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 addressbook1.pb.h, addressbook1.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating addressbook_encode_decode.pb.h, addressbook_encode_decode.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating brpc/get_js.pb.h, brpc/get_js.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating brpc/grpc_health_check.pb.h, brpc/grpc_health_check.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating brpc/options.pb.h, brpc/options.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating brpc/nshead_meta.pb.h, brpc/nshead_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating addressbook_map.pb.h, addressbook_map.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating echo.pb.h, echo.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating grpc.pb.h, grpc.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating health_check.pb.h, health_check.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] 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/baidu_rpc_meta.pb.h, brpc/policy/baidu_rpc_meta.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 iobuf.pb.h, iobuf.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 repeated.pb.h, repeated.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 brpc/proto_base.pb.h, brpc/proto_base.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating v2.pb.h, v2.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating snappy_message.pb.h, snappy_message.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating v1.pb.h, v1.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating brpc/rpc_dump.pb.h, brpc/rpc_dump.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Generating brpc/rtmp.pb.h, brpc/rtmp.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Generating brpc/span.pb.h, brpc/span.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/g_fmt.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Generating brpc/trackme.pb.h, brpc/trackme.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/dtoa_wrapper.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dynamic_annotations/dynamic_annotations.c.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/icu/icu_utf.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/superfasthash/superfasthash.c.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/modp_b64/modp_b64.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/demangle.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/symbolize.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-stubs-internal.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-sinksource.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/murmurhash3/murmurhash3.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/arena.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/at_exit.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/atomicops_internals_x86_gcc.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64url.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/big_endian.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/alias.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/cpu.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/asan_invalid_access.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/crash_logging.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/dump_without_crashing.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/proc_maps_linux.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/environment.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook1.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/idl_options.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 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 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": [ 18%] 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": [ 21%] 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 test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/cancellation_flag.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/condition_variable_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/waitable_event_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/non_thread_safe_impl.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/simple_thread.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_checker_impl.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_collision_warner.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_id_name_manager.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_restrictions.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/watchdog.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_tick_clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/tick_clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/version.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/logging.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/class_name.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/errno.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/find_cstr.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/status.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/string_printf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_local.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_key.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/unix_socket.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/endpoint.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fd_utility.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/temp_file.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_watcher.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/zero_copy_stream_as_streambuf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/crc32c.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/containers/case_ignored_flat_map.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/single_iobuf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf_profiler.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/binary_printer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/recordio.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/popen.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_linux.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_linux.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/sys_string_conversions_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_map.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] Building CXX object 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": [ 43%] 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 CMakeFiles/PROTO_LIB.dir/brpc/trackme.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": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/iobuf.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/message.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/recordio.cc:318:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 318 | char metabuf[s.name.size() + 5]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/recordio.cc:318:22: note: initializer of 's' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/recordio.cc:312:15: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 312 | auto& s = rec.MetaAt(i); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/repeated.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/snappy_message.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/iobuf.cpp:833:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 833 | struct iovec vec[nref]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/iobuf.cpp:833:22: note: initializer of 'nref' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/iobuf.cpp:832:18: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 832 | const size_t nref = std::min(_ref_num(), IOBUF_IOV_MAX); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/iobuf.cpp:864:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 864 | struct iovec vec[nref]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/iobuf.cpp:864:22: note: initializer of 'nref' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/iobuf.cpp:863:18: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 863 | const size_t nref = std::min(_ref_num(), IOBUF_IOV_MAX); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v1.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v2.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v3.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/grpc.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/health_check.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": 1 warning generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/collector.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/default_variables.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/percentile.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/sampler.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/gflag.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/mvariable.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/latency_recorder.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/variable.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread_once.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/butex.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": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/context.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/execution_queue.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/countdown_event.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/errno.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/id.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/fd.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/interrupt_pthread.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/key.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/mutex.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/rwlock.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_tracer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/encode_decode.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/timer_thread.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_map.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_type_resolver.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/field_type.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/mcpack2pb.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/parser.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/serializer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/acceptor.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_connection_type.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_max_concurrency.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/amf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.cpp:75:39: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<30UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 75 | g->get_interval_at(index).merge(interval); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :134:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 134 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :130:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 130 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<30>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/combiner.h:225:63: note: in instantiation of member function 'bvar::detail::PercentileSamples<30>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 225 | const ElementTp element_identity = ElementTp(), Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:680:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 680 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:1344:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 1344 | : _M_ptr(), _M_refcount(_M_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::detail::AddPercentileSamples>>::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::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::detail::AddPercentileSamples>>::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::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::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::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::detail::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:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/detail/sampler.h:/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:2798:: Step #21 - "compile-libfuzzer-address-x86_64": 9In file included from :/src/brpc/src/bvar/utils/lock_timer.h :28: Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereIn file included from Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h :26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:9816 | :   warning:   first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] t Step #21 - "compile-libfuzzer-address-x86_64": a ke_sample(289); |  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": memset(/src/brpc/src/bvar/detail/percentile.h:t529his:,28 : 0In file included from /src/brpc/src/bthread/rwlock.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/rwlock.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | ,  Snote: amin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested herepsliez(e)o f: (d*attah(i)s, )t)i;me Step #21 - "compile-libfuzzer-address-x86_64": _ u|  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": s 98 | take_s(ampl529e( | );  Step #21 - "compile-libfuzzer-address-x86_64": 0|  ^ Step #21 - "compile-libfuzzer-address-x86_64":   )/src/brpc/src/bvar/detail/percentile.h :{ 529} : 28 :  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ _s Step #21 - "compile-libfuzzer-address-x86_64": anote: /src/brpc/src/bvar/detail/sampler.h:116:23in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here:  Step #21 - "compile-libfuzzer-address-x86_64": mpler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | /src/brpc/src/bvar/detail/percentile.h note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": memse 116 | t:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*thi ( Sampleh itsmp,;  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":  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": s)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<1022>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.cpp:64:55: note: in instantiation of member function 'bvar::detail::PercentileSamples<1022>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 64 | std::unique_ptr cb(new CombinedPercentileSamples); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/id.cpp:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uin/src/brpc/src/bvar/detail/percentile.h:t31322:_13t:,  warning: tvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": mp ,132 | r DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._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: hs._num_samples, note: expanded from macro 'DEFINE_SMALL_ARRAY'64); 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:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 426 | char name##_stack_arr char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": ay[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | 29 | cal l_ o p _rreettuurrnnin go_pv(ovi1d,( ovp2,) ;tm Step #21 - "compile-libfuzzer-address-x86_64": p ,| _ ^ Step #21 - "compile-libfuzzer-address-x86_64": data.second(i/src/brpc/src/bvar/detail/series.h):)168;:13 Step #21 - "compile-libfuzzer-address-x86_64": : note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | |  ^ 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": call_op116_ | retur returnning_void( oapp,pe ntdm_ps,e c_odnadt(av.asleuceo,n d_(iop); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": )/src/brpc/src/bvar/window.h:); Step #21 - "compile-libfuzzer-address-x86_64": |  ^65 Step #21 - "compile-libfuzzer-address-x86_64": :25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here/src/brpc/src/bvar/detail/series.h: Step #21 - "compile-libfuzzer-address-x86_64": 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 append65 | _series.append(_own_erse-c>gond(value, et_value(_o1p));); 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: /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :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:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :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": si/src/brpc/src/bvar/detail/percentile.hze: 132<:=13 : note: (maxsdeclared here Step #21 - "compile-libfuzzer-address-x86_64": ize/src/brpc/src/butil/macros.h:425:20: note: ) ? name##_size : 0); 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_ar\ 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": ray_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/collector.cpp: 17224: 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": | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:In file included from /src/brpc/src/bthread/execution_queue.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/execution_queue.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": 289:16: warning: In file included from /src/brpc/src/bthread/mutex.hfirst 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": :27 289 | : Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:m28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/baidu_master_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  In file included from /src/brpc/src/bthread/timer_thread.cpp:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": | /src/brpc/src/bvar/detail/percentile.h:289:16:  (void*)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":  289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereIn file included from Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bthread/countdown_event.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": eIn file included from mse/src/brpc/src/bthread/countdown_event.ht(:this25,: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(t 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": his, 0, sizeof(*this))/src/brpc/src/bvar/detail/percentile.h:289:16: ;note: Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16:  289 | memset(this, 0,note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/key.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeofIn file included from /src/brpc/src/bthread/bthread.cpp:(Tp) *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": nIn file included from a/src/brpc/src/bvar/bvar.hm:e27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h#:#26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289_:s16: warning: tack_arrfirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | ay_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_stmacek_mset(array_sizte Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.hh:132i:s13:, 0note: ,declared here  Step #21 - "compile-libfuzzer-address-x86_64": size/src/brpc/src/butil/macros.ho:f425:(20*: thinote: sexpanded from macro 'DEFINE_SMALL_ARRAY')) Step #21 - "compile-libfuzzer-address-x86_64": ;  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 425 | 40 |  c o nSsatmp leu(n)s i:g ndeadta (n)a,m et#i#m_es_tuasc(k_0ar)r a{y}_s Step #21 - "compile-libfuzzer-address-x86_64": i z| e ^= Step #21 - "compile-libfuzzer-address-x86_64": (name##_/src/brpc/src/bvar/detail/sampler.hs:i116z:e23 :< = (note: main instantiation of member function 'bvar::detail::Sample>::Sample' requested herexsi Step #21 - "compile-libfuzzer-address-x86_64": z e) ? n116a | m e # # _ s i z e : 0 Sam)p;l e\<T> t Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": mp; Step #21 - "compile-libfuzzer-address-x86_64": | : ^149 Step #21 - "compile-libfuzzer-address-x86_64": :1/src/brpc/src/bvar/detail/sampler.h:98:9: note: expanded from here: Step #21 - "compile-libfuzzer-address-x86_64": 149 | note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uin _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": t32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36:  289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :162:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 162 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/butex.cpp:35: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :2 warnings generated161. Step #21 - "compile-libfuzzer-address-x86_64": :1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bad_method_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bthreads_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :173:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 173 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :169:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 169 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_/src/brpc/src/bvar/detail/percentile.h:132:13: warning: ovariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]p Step #21 - "compile-libfuzzer-address-x86_64": 132_r | e t u rniDEnFIgN_Evo_SMAiLLd(_ARRAoY(puin, t3tmp, _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": 2_t, tmp, rhs._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##_ 116 | return appsentd_ascekc_oanrdr(avya[lusei,z e_oofp);(T Step #21 - "compile-libfuzzer-address-x86_64": p )| * ^n Step #21 - "compile-libfuzzer-address-x86_64": ame##_stac/src/brpc/src/bvar/window.hk:_65ar:r25a:y _sinote: zein 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": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": 65 | /src/brpc/src/bvar/detail/percentile.h : 364 : 36 :  _snote: erin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested hereie Step #21 - "compile-libfuzzer-address-x86_64": sIn file included from 364 | /src/brpc/src/bthread/mutex.cpp:27 get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": . 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": ap: Step #21 - "compile-libfuzzer-address-x86_64": 168pIn file included from end/src/brpc/src/bvar/bvar.h(:_27o | : Step #21 - "compile-libfuzzer-address-x86_64": In file included from wn/src/brpc/src/bvar/latency_recorder.he: r->get_va26 : Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: l u e(289:116):) ; cal Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": lwarning: 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/window.h_op:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here_ret u Step #21 - "compile-libfuzzer-address-x86_64": r 58 | n289 | memsei nt( gthis, 0,Se_ 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 hereriesSv Step #21 - "compile-libfuzzer-address-x86_64": oid(op, 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 |  /src/brpc/src/bvar/detail/percentile.h : 132t:a13k:e _sawarning: mple(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": ampler(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": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | 2 DEFINE_SMALL_ARRAY(uint32_t, tt warningvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": msp, rh generateds. Step #21 - "compile-libfuzzer-address-x86_64": ._nmum_spa,m ples_data,. 6s4e)c; Step #21 - "compile-libfuzzer-address-x86_64": | o ^n Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 426d(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": c har 116 | retuname##_stack_array[sizeof(Tp) * name##_stack_array_sizre]; n  \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | a ppend _se c ond(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":   /src/brpc/src/bvar/window.h : 65 : 25 :  gnote: etin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here_ Step #21 - "compile-libfuzzer-address-x86_64": interval_at (65i | ) . m e r g e ( * r h s . _ intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": | _seri ^e Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": s.appen d499( | _ ow ne r->get _value b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": (1)); Step #21 - "compile-libfuzzer-address-x86_64": |  53 | ^ _v Step #21 - "compile-libfuzzer-address-x86_64": a/src/brpc/src/bvar/window.hr->op()(v1, v2):;58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_s/src/brpc/src/bthread/task_control.cppt:a599c:k5_:a rrawarning: y[variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]si Step #21 - "compile-libfuzzer-address-x86_64": zeof(Tp) * name##_stack_array_size]; 599 | \  Step #21 - "compile-libfuzzer-address-x86_64": D E| F ^ Step #21 - "compile-libfuzzer-address-x86_64": :164:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 164 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: Step #21 - "compile-libfuzzer-address-x86_64":  I| note:  ^Nexpanded from macro 'DEFINE_SMALL_ARRAY'E Step #21 - "compile-libfuzzer-address-x86_64": _S Step #21 - "compile-libfuzzer-address-x86_64": MALL_ARRAY( i425n/src/brpc/src/bvar/detail/call_op_returning_void.h | t: 29 : 12:c onsnote: tin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here un,s ingunmesd, nngarmoeu#p#,_ st1a2c8k_)a;rr Step #21 - "compile-libfuzzer-address-x86_64": a y| _ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:s29i:z e note: expanded from macro 'DEFINE_SMALL_ARRAY'= Step #21 - "compile-libfuzzer-address-x86_64": (name# #426_ | s i z e c::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_retur##_stack_array[sizeof(Tp) * nze) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": ame##_sta ck_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/bthread/task_control.cpp:599:5: note: initializer of 'nums_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :121:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": ning_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": | 121 | nums_stac ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13:k_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :117:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :164:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 164 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :160:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 160 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/connections_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:117499 | :12n:u ms_note: stain instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested hereck Step #21 - "compile-libfuzzer-address-x86_64": _array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64":  499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :164:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 164 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :160:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 160 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/dir_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp: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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :197:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 197 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | /src/brpc/src/bvar/detail/percentile.hc:o132n:s13t: uwarning: nsivariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]gn Step #21 - "compile-libfuzzer-address-x86_64": ed name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :193:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 193 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64":  132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :170:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 170 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_control.cpp:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:377:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 377 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 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:379:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 379 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:381:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 381 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:383:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 383 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:385:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 385 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:387:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 387 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:389:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 389 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:391:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 391 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:393:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 393 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_sam/src/brpc/src/mcpack2pb/serializer.cpp:p317l:e38s:, 6warning: 4); 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 | variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": char name##_stack_array[si zeof317 | (Tp) * name##_st FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": ack/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": _array_si ze]; 395 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317: 38:g 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": | et_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64":  ^ 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": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :160:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 160 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :156:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 156 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flags_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flot_min_js.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_favicon_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_js_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/grpc_health_check_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_group.cpp:36: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/health_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/hotspots_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :170:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 170 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/ids_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :189:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 189 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :185:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/index_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/jquery_min_js.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/list_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/acceptor.cpp:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/acceptor.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/adaptive_max_concurrency.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :222:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 222 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 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": In file included from /src/brpc/src/brpc/baidu_master_service.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/method_status.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: 2note: in 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": warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/memory_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/pprof_perl.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/bthreads_service.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :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:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :172:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 172 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/prometheus_metrics_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/protobufs_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/rpcz_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/dir_service.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sockets_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sorttable_js.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/common.cpp:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/status_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/bad_method_service.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/get_favicon_service.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :199:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 199 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/threads_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vars_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/version_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/flags_service.cpp:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | In file included from /src/brpc/src/brpc/builtin/grpc_health_check_service.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning:   first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]  _v Step #21 - "compile-libfuzzer-address-x86_64": ar->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": 289 | 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 | m e call_op_returning_void(op, tmp, _data.secmsoent(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": d/src/brpc/src/bvar/detail/sampler.h(i));:40 Step #21 - "compile-libfuzzer-address-x86_64": :| 16: ^ Step #21 - "compile-libfuzzer-address-x86_64": note: /src/brpc/src/bvar/detail/series.h:116in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here:16 Step #21 - "compile-libfuzzer-address-x86_64": : note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 116 | |  rSeatmuprnle (a)p pen:d _dsaetcao(n)d(v,a lutimee, __oups)(;0 Step #21 - "compile-libfuzzer-address-x86_64":  )| { ^} Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": | /src/brpc/src/bvar/window.h:65 ^: Step #21 - "compile-libfuzzer-address-x86_64": 25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h: 65 | 116 : 23 :   note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here  _seri Step #21 - "compile-libfuzzer-address-x86_64": es.append(_owner->get_value(1) )116; |  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/window.h: 58 :S9a:m plenote: <Tin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here> Step #21 - "compile-libfuzzer-address-x86_64": tmp 58 | ;  SeriesSample Step #21 - "compile-libfuzzer-address-x86_64": r(WindowBase* own e| r, R ^* Step #21 - "compile-libfuzzer-address-x86_64": var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h/src/brpc/src/bvar/window.h::15198::359:: note: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested herein instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series _98s | a m p l e r = new SeriesS a mtpalkeer_(tshaimspl,e (_);v Step #21 - "compile-libfuzzer-address-x86_64": ar )| ; ^ Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:/src/brpc/src/bvar/latency_recorder.h28:: 49:7note: : in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested herenote: 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": 529 | 49 |  c l a s s  _ sLaamtpenler = ncyRecoredwer Bsaase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13:mpler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/viz_min_js.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/get_js_service.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->/src/brpc/src/bvar/detail/percentile.hop(:)(132v:1, v132:) ; 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": 132 |  /src/brpc/src/bvar/detail/call_op_returning_void.h: 29:12: note: Din instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hereEF Step #21 - "compile-libfuzzer-address-x86_64": INE 29 | _S M 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 | ALL_ARRAY(uint32_t, tmp, rhs._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: call_onote: expanded from macro 'DEFINE_SMALL_ARRAY'p_returning_void(op, tmp, _data.second(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/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": 426 | [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vlog_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(va char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[liue, _op); 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:65:25: note: /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 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 Se riesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class  LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | b 1 . DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._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": m 240erge( | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :236:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 236 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/channel.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/checksum.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/circuit_breaker.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/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: In file included from /src/brpc/src/brpc/builtin/connections_service.cppin instantiation of member function 'bvar::detail::Sample>::Sample' requested here: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": 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 116/src/brpc/src/brpc/versioned_ref_with_id.h | : 26 : Step #21 - "compile-libfuzzer-address-x86_64": In file included from Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/ids_service.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/compress.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/index_service.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/controller.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/hotspots_service.cpp:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/couchbase.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/has_epollrdhup.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :229:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 229 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :225:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 225 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": 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 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": :/src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 25 364 | : Step #21 - "compile-libfuzzer-address-x86_64": In file included from get_i/src/brpc/src/brpc/versioned_ref_with_id.hnt:er26v: Step #21 - "compile-libfuzzer-address-x86_64": aIn file included from /src/brpc/src/bthread/bthread.hl:_a32: Step #21 - "compile-libfuzzer-address-x86_64": t(In file included from /src/brpc/src/bthread/mutex.h:i27).: 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:289m:er16: gwarning: e(*rhsfirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": ._ 289 | in te rvals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^m Step #21 - "compile-libfuzzer-address-x86_64": emset/src/brpc/src/bvar/window.h:(53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64":  53 | th i s ,  0 ,  s izeof(*this  )) ;_v Step #21 - "compile-libfuzzer-address-x86_64": a |  ^r Step #21 - "compile-libfuzzer-address-x86_64": ->op(/src/brpc/src/bvar/detail/sampler.h):(40v:116: , v2note: );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/call_op_returning_void.h:29 | : 12 : Sanote: mpin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": l 29 | e (retu)r n: doapt(v1a(), ti,m ev_2u)s;( Step #21 - "compile-libfuzzer-address-x86_64": 0 | ) ^{} Step #21 - "compile-libfuzzer-address-x86_64": | Step #21 - "compile-libfuzzer-address-x86_64":  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: /src/brpc/src/bvar/detail/series.hin instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": : 116 | 168 : 13 : Samnote: ple in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested heretmp; 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::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here168 |  Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sam pl e(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:529c:al28: l_onote: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": p_retu 529 | r n ing_sa_mpler =v new sampleroi_type(this)d; Step #21 - "compile-libfuzzer-address-x86_64": ( |  ^ Step #21 - "compile-libfuzzer-address-x86_64": op, tmp, _d/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warninga Step #21 - "compile-libfuzzer-address-x86_64": ta.se 289 | c moenmsdet((this,i 0, sizeo)f)(*;thi Step #21 - "compile-libfuzzer-address-x86_64": s | )); ^ 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/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :50:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 50 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_/src/brpc/src/bvar/detail/percentile.hstack_:a132r:r13a:y_size = (na me##_sizewarning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] < Step #21 - "compile-libfuzzer-address-x86_64": = (maxsi 132 | z e ) ? n DEFIName##_size : 0E)_S; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :46:1:MALL_ARRAY(uin t32_note: t,expanded from here t Step #21 - "compile-libfuzzer-address-x86_64": m p, rhs46. | _tnmum_sapm_pstalceks_,a rr6a4y_s)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/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :16:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 16 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :12:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 12 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/health_check.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 12 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/hpack.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_message.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_parser.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/jemalloc_profiler.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/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:[ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/load_balancer_with_naming.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_si2 warningsze < generated. Step #21 - "compile-libfuzzer-address-x86_64": = (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/mesalink_ssl_helper.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/method_status.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/pprof_service.cpp:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/naming_service_thread.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/rtmp_utils.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :250:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 250 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :246:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 246 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/protobufs_service.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/ssl_helper.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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | S2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": ample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/tcmalloc_extension.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/usercode_backup_pool.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/sockets_service.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/rpcz_service.cpp:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/threads_service.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), ti/src/brpc/src/bvar/detail/percentile.h:132:13me: _warning: uvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]s Step #21 - "compile-libfuzzer-address-x86_64": ( 132 | 0) DEFI{N}E Step #21 - "compile-libfuzzer-address-x86_64": _ S| MALL_ARRAY(ui ^ 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": nt32_t, tmp, rhs._nu/src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": m_98s | a m p l e s ,  ta6k4e_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/butil/macros.h:426:29: note: /src/brpc/src/bvar/detail/percentile.hexpanded from macro 'DEFINE_SMALL_ARRAY':529 Step #21 - "compile-libfuzzer-address-x86_64": : 28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 426 | 529c | h a r  n a m e # #__ssatmapclke_ra r=r ayn[ewsi zseaomfpl(Tepr)_ t*y pnea(met#h#is_s)t;a Step #21 - "compile-libfuzzer-address-x86_64": c k| _a ^r Step #21 - "compile-libfuzzer-address-x86_64": ray_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | /src/brpc/src/bvar/detail/percentile.h g:e289t:_16i:n ternote: vaexplicitly cast the pointer to silence this warningl_ Step #21 - "compile-libfuzzer-address-x86_64": a t(i).merge(*rhs._intervals[289i | ] ) ;  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": memset(t/src/brpc/src/bvar/detail/percentile.hh:i499s:12,: 0note: ,in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 499 | |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :229:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 229 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :225:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 225 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/esp_message.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_siIn file included from /src/brpc/src/brpc/builtin/status_service.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:z25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:e]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": 26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | /src/brpc/src/bthread/bthread.h :32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset (this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": get/src/brpc/src/bvar/detail/sampler.h:40_:i16nterva:l _at(i).note: merge(*rin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herehs Step #21 - "compile-libfuzzer-address-x86_64": ._intervals [40i | ] ) ; S Step #21 - "compile-libfuzzer-address-x86_64": a m| pl ^e( Step #21 - "compile-libfuzzer-address-x86_64": ) : /src/brpc/src/bvar/detail/percentile.hd:a499t:a12(:) , note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested heretime_u Step #21 - "compile-libfuzzer-address-x86_64": s( 0) {}499 | Step #21 - "compile-libfuzzer-address-x86_64": |  ^ b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168: 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": 13: /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": note: 168 | in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | t cake_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": all_op_returning_v/src/brpc/src/bvar/detail/percentile.h:529o:i28d(op,: tmnote: p, _in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hered Step #21 - "compile-libfuzzer-address-x86_64": ata.s 529 | econd(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  _/src/brpc/src/bvar/detail/series.h:s116am:p16l:e r = note: nin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested hereew Step #21 - "compile-libfuzzer-address-x86_64":  116 | sampler_type( retthis);u Step #21 - "compile-libfuzzer-address-x86_64": r| n a ^p Step #21 - "compile-libfuzzer-address-x86_64": pend_s/src/brpc/src/bvar/detail/percentile.h:289: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: 16note: :in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here  Step #21 - "compile-libfuzzer-address-x86_64": note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 65 | 289 | _ s e r i e sm.eampspeetn(d(t_hoiwsn,e r-0>g,e t_sviazleuoef((1*)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":  /src/brpc/src/bvar/window.h| : (void*)58 Step #21 - "compile-libfuzzer-address-x86_64": :9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/vars_service.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :229:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 229 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :225:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 225 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/event_dispatcher.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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/checksum.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:262: Step #21 - "compile-libfuzzer-address-x86_64": warnings/src/brpc/src/bvar/detail/percentile.h generated:. Step #21 - "compile-libfuzzer-address-x86_64": 289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here2 Step #21 - "compile-libfuzzer-address-x86_64": warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/global.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/grpc.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/http_message.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 2 warning289 | s generated . 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http2.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16/src/brpc/src/bvar/detail/percentile.h: :132:note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here13: 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": 132 | DEFINE_SMALL_ARRAY(uint32_t,116 | tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(* returrn 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": h 65 | s ._i n _series.append(_owner->gtet_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*ervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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 | 499 | _seri e s _sa m pler = bne1w. Sermerge(b2iesSampler()this, _v; Step #21 - "compile-libfuzzer-address-x86_64": | ar); 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: /src/brpc/src/bvar/window.hnote: :53in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here:17: Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | cla53ss |  L a te n cyR e c o r d e r B a se_ v{ar Step #21 - "compile-libfuzzer-address-x86_64": -> o| p( ^) Step #21 - "compile-libfuzzer-address-x86_64": (v1, v2)/src/brpc/src/bvar/detail/percentile.h;:132 Step #21 - "compile-libfuzzer-address-x86_64": : | 13 ^ Step #21 - "compile-libfuzzer-address-x86_64": : note: initializer of 'tmp_stack_array_size' is not a constant expression 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": 13229 | |  r e t ur n DE FoIpN(Ev_1S,M AvL2L)_;AR Step #21 - "compile-libfuzzer-address-x86_64": R A| Y( ^u Step #21 - "compile-libfuzzer-address-x86_64": int32_t, t/src/brpc/src/bvar/detail/series.hm:p168,: 13rh: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 #21 - "compile-libfuzzer-address-x86_64": .168 | _ n u m _ s a mples ,  6 4ca)l;l_ Step #21 - "compile-libfuzzer-address-x86_64": o p| _r ^e Step #21 - "compile-libfuzzer-address-x86_64": turni/src/brpc/src/butil/macros.hn:426:g42_:v onote: iexpanded from macro 'DEFINE_SMALL_ARRAY'd(o Step #21 - "compile-libfuzzer-address-x86_64": p , 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: 426note: |  in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here  Step #21 - "compile-libfuzzer-address-x86_64": char name116# | # _ s t a c k _ array[sirzeetoufrn(T pa)p p*e nnda_mseec#on#d_(svtaalcuke_,a r_roapy)_;s Step #21 - "compile-libfuzzer-address-x86_64": iz e| ] ^; Step #21 - "compile-libfuzzer-address-x86_64":   \ Step #21 - "compile-libfuzzer-address-x86_64": | /src/brpc/src/bvar/window.h: ^65 Step #21 - "compile-libfuzzer-address-x86_64": :25: note: :in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here219: Step #21 - "compile-libfuzzer-address-x86_64": 1 : note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 65 | 219 | t m p _ s t_ascekr_iaersr.aayp_pseinzde(_ Step #21 - "compile-libfuzzer-address-x86_64": o w| ne^r Step #21 - "compile-libfuzzer-address-x86_64": ->get_/src/brpc/src/bvar/detail/percentile.hv:a132l:u13e:( 1note: ))declared here; 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": 425:20: note: /src/brpc/src/bvar/window.h:expanded from macro 'DEFINE_SMALL_ARRAY'58: Step #21 - "compile-libfuzzer-address-x86_64": 9 : note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | Ser425i | e s S amcpolnesrt(W inudnoswiBganseed* onwanmeer#,# _Rs* vtaarc)k_ Step #21 - "compile-libfuzzer-address-x86_64": a r| ra ^y Step #21 - "compile-libfuzzer-address-x86_64": _size = /src/brpc/src/bvar/window.h(:n151a:m35e:# #_snote: izin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested heree < Step #21 - "compile-libfuzzer-address-x86_64": = (maxsize151 | ) ? n a m e # # __ssiezrei e:s _sa0mp)l;e r\ = Step #21 - "compile-libfuzzer-address-x86_64":  n| ew ^ Step #21 - "compile-libfuzzer-address-x86_64": SeriesSam:p215l:e1r: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": (this215 | ,t m_pv_asrt)a;ck Step #21 - "compile-libfuzzer-address-x86_64": _ a| rra ^y 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/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :160:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 160 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :156:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 156 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(bIn file included from 2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^/src/brpc/src/brpc/compress.cpp Step #21 - "compile-libfuzzer-address-x86_64": :22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/window.h:53:/src/brpc/src/brpc/protocol.h:1732: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.hop():25(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": : Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/call_op_returning_void.h:29289 | :12 memset(: note: thin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hereis Step #21 - "compile-libfuzzer-address-x86_64": ,  29 | 0 return op(v1,, v2);  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": s/src/brpc/src/bvar/detail/series.h:168:13: note: in 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_returniing_void(opzeof(, *tmtphi,s _)d)a;ta Step #21 - "compile-libfuzzer-address-x86_64": . s| ec ^o Step #21 - "compile-libfuzzer-address-x86_64": nd(i));/src/brpc/src/bvar/detail/sampler.h Step #21 - "compile-libfuzzer-address-x86_64": :| 40: ^16 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": /src/brpc/src/bvar/detail/series.h:116:16:40 |   note:  in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested hereSa Step #21 - "compile-libfuzzer-address-x86_64": m ple() : data(),116 | t im e _ u s (  0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^r Step #21 - "compile-libfuzzer-address-x86_64": eturn append_sec/src/brpc/src/bvar/detail/sampler.h:116:23: ondnote: (in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": value, 116 | Sample tmp;_o Step #21 - "compile-libfuzzer-address-x86_64": p )| ; ^ 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:In file included from /src/brpc/src/brpc/cluster_recover_policy.cpp9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": :24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from 98 | /src/brpc/src/brpc/server_id.h : take_samp28le(); Step #21 - "compile-libfuzzer-address-x86_64": : 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": : Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:/src/brpc/src/bvar/detail/percentile.h28:529:28:: Step #21 - "compile-libfuzzer-address-x86_64": In file included from note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here/src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  289 | memse/src/brpc/src/bvar/detail/percentile.ht:(this,289 :016, :size of(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": note: explicitly cast the pointer to silence this warning/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 Step #21 - "compile-libfuzzer-address-x86_64": 289 | 40 | Sample( ) : data( ) , tmimee_us(0m)s e{t(}this Step #21 - "compile-libfuzzer-address-x86_64":  ,|  ^0 Step #21 - "compile-libfuzzer-address-x86_64": , sizeo/src/brpc/src/bvar/detail/sampler.hf:116(:*23: thinote: sin instantiation of member function 'bvar::detail::Sample>::Sample' requested here)) 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/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 116215 | | t m p _ s t a c k _ a r rSaaym_pslie tzmep 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::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :162:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 162 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_header.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_method.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": :242:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 242 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :238:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 238 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_status_code.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/vlog_service.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/input_messenger.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/channel.cpp:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/usercode_backup_pool.cpp:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/usercode_backup_pool.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :194:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 194 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :190:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 190 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] 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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_message.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_pb_service_adaptor.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/parallel_channel.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/couchbase.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/couchbase.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/partition_channel.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": In file included from | /src/brpc/src/brpc/details/health_check.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/health_check.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | ^ Step #21 - "compile-libfuzzer-address-x86_64":  memset(this/src/brpc/src/bvar/latency_recorder.h:, 49:7: 0, sizeof(*thnote: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": is)); 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": 49 40 | Sa | cmplasle() : data()s, Ltime_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": a/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": t 116 | enScyRaecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": mple tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h/src/brpc/src/bvar/detail/sampler.h::98:9132: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": : 98 | 13 :  tanote: kinitializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132e | DEFINE_SMALL_ARRAY(uint32_s_amt,pl e(); Step #21 - "compile-libfuzzer-address-x86_64": t|  ^ Step #21 - "compile-libfuzzer-address-x86_64": mp, rhs._/src/brpc/src/bvar/detail/percentile.h:529:n28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": u 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": | m ^ Step #21 - "compile-libfuzzer-address-x86_64": _sample/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": s 289 | memset(this, , 0, siz6eof4(*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/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :33:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 33 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :29:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 29 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/jemalloc_profiler.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_task.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/auto_concurrency_limiter.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/load_balancer_with_naming.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/load_balancer_with_naming.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :185:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :181:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 181 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/event_dispatcher.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_rpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consistent_hashing_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :173:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 173 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :169:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 169 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :153:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 153 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :149:1: 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :190:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 190 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :186:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 186 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/naming_service_thread.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*th[ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/constant_concurrency_limiter.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": is)); 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/consul_naming_service.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/couchbase_authenticator.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/method_status.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.cpp:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/crc32c_checksum.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :16:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 16 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :12:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 12 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_arr/src/brpc/src/bvar/detail/percentile.ha:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": y[s iz132 | e of(Tp ) *DEFINE_SMAL L_ARname##_staRAck_Yarray_size(u]; \in Step #21 - "compile-libfuzzer-address-x86_64": | t ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": 32/src/brpc/src/bvar/detail/percentile.h:364:36_: tnote: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here, tmp, rhs._num_sam Step #21 - "compile-libfuzzer-address-x86_64": ples,  36464); 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 _ a getrr_aiynterval[_asizet(of(Tp) * name##_stack_arriay_siz)e]; .merge(*rhs._int er\vals[i Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | ge])t_i;nterv Step #21 - "compile-libfuzzer-address-x86_64": al| _at(i).merge ^ Step #21 - "compile-libfuzzer-address-x86_64": (*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499/src/brpc/src/bvar/detail/percentile.h:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | :499 :12:  _var->op()(v1, note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": v2 499 | ); 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->ge t_v alue b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | ( 1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/window.h: _v58a:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": r->o 58 | Seriep()(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: snote: Sampler(in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | W indorwBase* owneturn oep(v1, v2r);, Step #21 - "compile-libfuzzer-address-x86_64": R* | va ^ Step #21 - "compile-libfuzzer-address-x86_64": r) Step #21 - "compile-libfuzzer-address-x86_64": | /src/brpc/src/bvar/detail/series.h: ^168 Step #21 - "compile-libfuzzer-address-x86_64": :13: /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested herenote: in 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": Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sam116pler = 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 return a:7: note: ppin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": en49d | _secoclnass LatencyRecorderBad(svale { Step #21 - "compile-libfuzzer-address-x86_64": u |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: e,initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": _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 | 132 | _series.append(_owner->get_value(1)); 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":  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:/src/brpc/src/bvar/window.h426::58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 42 : 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": note: /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":  expanded from macro 'DEFINE_SMALL_ARRAY'151 | _series_sampler = new SeriesSampler(this, _var); 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:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | 426 |  DE/src/brpc/src/bvar/detail/percentile.hFIN:E_132SM:A13L:L _ARwarning: RAYvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension](uin Step #21 - "compile-libfuzzer-address-x86_64": t32_t, t 132 | DEcFINE_hSMarALLmp, rhs._ name##_stnaucmk_sa_mples, 64);ar_rAaRyR[AYs(uint3i2z_eto,f tm Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": p/src/brpc/src/butil/macros.h:,( rhs._num_samplesT,p 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": 426:) *42: /src/brpc/src/butil/macros.hname:426#note: #expanded from macro 'DEFINE_SMALL_ARRAY':_29:s Step #21 - "compile-libfuzzer-address-x86_64": tack_array_size]; note:  \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 426 | expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": char name##_stack_arr426 | :170:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 170 | a y[sizeotm f(Tp) * name##_stacp_sta ck_acrrhar kname##_staya_arrc_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": ay_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name ##_stack_array425_ | s i z e =c o(nnsatme ##u_nssiizgen e): 215?: 1n:a me#note: #_expanded from heresi Step #21 - "compile-libfuzzer-address-x86_64": zk_e : 0); \ 215 | t Step #21 - "compile-libfuzzer-address-x86_64": m| p_ ^s Step #21 - "compile-libfuzzer-address-x86_64": taackr_raayr[r:166:say_1izeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tm | p_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64":  get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": s/src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:iz12: note: ein 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": | ^ Step #21 - "compile-libfuzzer-address-x86_64":  29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :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": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :126:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 126 | 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/dh.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/discovery_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/domain_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/periodic_task.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_oIn file included from /src/brpc/src/brpc/periodic_naming_service.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32wner->get_va: Step #21 - "compile-libfuzzer-address-x86_64": In file included from lu/src/brpc/src/bthread/mutex.h:e(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:261: Step #21 - "compile-libfuzzer-address-x86_64": ))/src/brpc/src/bvar/detail/percentile.h;:289 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/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": 28958 | | m emSseerit(this, 0, esSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.hsizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :151:35:/src/brpc/src/bvar/detail/sampler.h :40note: :16in 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": 151 | 40 | _series_sampleSample()r =: dnaetwa( )S,e rtiiemseS_aumsp(le0r() t{h}is Step #21 - "compile-libfuzzer-address-x86_64": , | _v ^a Step #21 - "compile-libfuzzer-address-x86_64": 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 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23:132 |   note:  in instantiation of member function 'bvar::detail::Sample>::Sample' requested here  D Step #21 - "compile-libfuzzer-address-x86_64": E FINE_SMALL_ARRAY(uin116t | 3 2 _ t , t m p , r hSsa.m_pnluem<_Ts>a mtmp;pl Step #21 - "compile-libfuzzer-address-x86_64": e s| , ^ Step #21 - "compile-libfuzzer-address-x86_64": 64); Step #21 - "compile-libfuzzer-address-x86_64": | /src/brpc/src/bvar/detail/sampler.h ^ Step #21 - "compile-libfuzzer-address-x86_64": :98:9: /src/brpc/src/butil/macros.h:note: 426:in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here42: Step #21 - "compile-libfuzzer-address-x86_64":  note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": 426 | |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  char name##_/src/brpc/src/bvar/detail/percentile.hs:ta529c:28k:_ arrnote: ay[in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested heres Step #21 - "compile-libfuzzer-address-x86_64": i zeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: sexpanded from herea Step #21 - "compile-libfuzzer-address-x86_64": m pler_type(this161 | )t;mp_st Step #21 - "compile-libfuzzer-address-x86_64": ac k| _a ^r Step #21 - "compile-libfuzzer-address-x86_64": ray_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | 425 | const unsi gn e d  n a mem#e#m_ssetta(ck_tahrirsay,_ si0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": ze = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings 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:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dynpart_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_authenticator.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 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/esp_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/file_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/giano_authenticator.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] 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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hasher.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http2_rpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http_rpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | 32 DEFINE_SMIn file included from AL/src/brpc/src/brpc/global.cppL:_38A: Step #21 - "compile-libfuzzer-address-x86_64": RIn file included from R/src/brpc/src/brpc/policy/remote_file_naming_service.hA:Y23(: Step #21 - "compile-libfuzzer-address-x86_64": uIn file included from i/src/brpc/src/brpc/channel.hn:t333: Step #21 - "compile-libfuzzer-address-x86_64": 2In file included from _/src/brpc/src/brpc/socket_id.ht:,25 : Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": _ 289t, ttmp, rhs. | _ nmp, um_r sh a memsemts(._tnhius, 0pl, sizem_of(*essathims)pl);es, , 64 Step #21 - "compile-libfuzzer-address-x86_64":  |  ^ Step #21 - "compile-libfuzzer-address-x86_64": );/src/brpc/src/bvar/detail/sampler.h:40:64); Step #21 - "compile-libfuzzer-address-x86_64": 16 :|  Step #21 - "compile-libfuzzer-address-x86_64": ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": |  /src/brpc/src/butil/macros.h: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~426:29 Step #21 - "compile-libfuzzer-address-x86_64": note: : /src/brpc/src/butil/macros.hnote: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": :426:29: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here 426note: expanded from macro 'DEFINE_SMALL_ARRAY' |  Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": cha r 426 | na me# #_s cha40r | t naSaamme##p_lestacc(k)_ak_ar r:rr ayad[atya(s)i, [times_izus(e0)o {f}( Step #21 - "compile-libfuzzer-address-x86_64": T p| ) ^* Step #21 - "compile-libfuzzer-address-x86_64": nam/src/brpc/src/bvar/detail/sampler.h:e116#:#23_:s tacnote: k_in instantiation of member function 'bvar::detail::Sample>::Sample' requested herea Step #21 - "compile-libfuzzer-address-x86_64": zeofrr(Tp 116 | a) * y_ n am size ##e_];sStaa m pclke_a rr \ay Step #21 - "compile-libfuzzer-address-x86_64": | _s ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~; : 36: tmp \note:  Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here ;|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h364: | 364 98 : 9 :   note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": | 98 | ge t _ get_iinntteerrvvaall__aatt((ii))..mmeerrggee((**rhrhs.s_i.n_tinervtaelrsv[ail]s)[;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:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64":  499 ^ | b1.mer Step #21 - "compile-libfuzzer-address-x86_64": gtae(b2)ke_/src/brpc/src/bvar/detail/percentile.h:499:12: ; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": sanote: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b153 | m p l e ( ) _v.a;r-m>eorpg(e)((bv21),; Step #21 - "compile-libfuzzer-address-x86_64": v2);  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: 53in 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 | ret _varurn op(v1, ->op(/src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": )(vv1 , v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 529 | /src/brpc/src/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": 2); 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 | 29 call_ | o p _ rerteutrunrinng _ovpo (ivd1_(ops, v2); Step #21 - "compile-libfuzzer-address-x86_64": , tmp, _data| am.psecol ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:end(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: 168:r13: note: in 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_retuin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here= Step #21 - "compile-libfuzzer-address-x86_64": new 116 |  return append_second(valsure, _op)n;i Step #21 - "compile-libfuzzer-address-x86_64": n |  ^ Step #21 - "compile-libfuzzer-address-x86_64": g_/src/brpc/src/bvar/window.h:65:vampler_type(this)25o:i;d (op 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": , tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ 65 | Step #21 - "compile-libfuzzer-address-x86_64":  _series./src/brpc/src/bvar/detail/series.h:append(116_owner->g:e16t_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": note:  58 | in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here/src/brpc/src/bvar/detail/percentile.h:289 Seri:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 289esSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": | memset(this116/src/brpc/src/bvar/window.h,: 151:035:, snote: izin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested hereeof Step #21 - "compile-libfuzzer-address-x86_64":  (*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) 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": /src/brpc/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 151{ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  | /src/brpc/src/bvar/detail/percentile.h:132 :13:  _series_sampler = new SeriesSampler(this, note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  132/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 | c l ass D LateEncyRecorderBFINE_SMALL_ARRAase {Y Step #21 - "compile-libfuzzer-address-x86_64": (ui| nt ^32 Step #21 - "compile-libfuzzer-address-x86_64": _t, tm/src/brpc/src/bvar/detail/percentile.hp,:132 rh:13s._num: note: _initializer of 'tmp_stack_array_size' is not a constant expressionsamp Step #21 - "compile-libfuzzer-address-x86_64": les, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' 132 Step #21 - "compile-libfuzzer-address-x86_64": | DEFIN E426 | _SMALL _ARRAY (uchint32_ta, tmp, rhs._num_r nsamame#ples,# _s64ta)ck_; 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": array[sizeo f(Tp) *426 nam | e## 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": s 185 | tmp_stack_array_siztack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": e:219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": | /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": ^ 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": /src/brpc/src/bvar/detail/percentile.h:132::13: note: declared here 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/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :181:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 181 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp:615:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 615 | DEFINE_SMALL_ARRAY(SubCall, aps, nchan, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp:615:5: note: initializer of 'aps_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :55:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 55 | aps_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp:615:5: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :51:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 51 | aps_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/auto_concurrency_limiter.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/auto_concurrency_limiter.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hulu_pbrpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/list_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/parallel_channel.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/partition_channel.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/locality_aware_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :141:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 141 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :137:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 137 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/domain_naming_service.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :162:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 162 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/memcache_binary_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/mongo_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nacos_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nova_pbrpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/consul_naming_service.cpp|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": :/src/brpc/src/butil/macros.h:426:2927: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": : 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 :27426 | : Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | c h armemset(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 : namnote: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample##_e(s)tack_array[si zeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": : da/src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested hereta Step #21 - "compile-libfuzzer-address-x86_64": (), time_u 364 | s(0) { } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  get_interval_/src/brpc/src/bvar/detail/sampler.h:a116t:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116(i).m | e rge(*rhs._int er vals Sample t[imp]);; 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:499:12: | note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64":  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h: 98499 | : b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": 9 |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :/src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here  Step #21 - "compile-libfuzzer-address-x86_64": note: 53 | _varin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here->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/call_op_returning_void.h:29 98:12 | : tnote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": a k29 | e_sreaturmn op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": ple(); 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: /src/brpc/src/bvar/detail/percentile.h:529:28: 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 #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here  Step #21 - "compile-libfuzzer-address-x86_64": 168 | call _o529p_returning_void(op, t | mp , _data.second(i));  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/series.h:116 :16 : note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | _samp ler = new s ampl er_type(thisreturn )a;ppend_second(value, _op 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:65:25: /src/brpc/src/bvar/detail/percentile.h:289:note: 16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | 289 | memse t _s(eriteshis, 0, sizeof.(*tappehinsd)(_o);w Step #21 - "compile-libfuzzer-address-x86_64": ner| -> ^g Step #21 - "compile-libfuzzer-address-x86_64": e t_v| alue (void*) Step #21 - "compile-libfuzzer-address-x86_64": (1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :217:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 217 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :213:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 213 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/consistent_hashing_load_balancer.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/file_naming_service.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/nshead_pb_service_adaptor.cpp:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :203:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 203 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :199:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 199 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_mcpack_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/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 uint3/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | 2 _t met a_sizDEeF I=NE GetProto_SMALL_ARRAY(uint32_t, tmp, rhs._nbum_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": ufByteSize(meta); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated . Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :183:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 183 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :179:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 179 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :191:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 191 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :187:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 187 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/public_pbrpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": | [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/randomized_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64":  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :223:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 223 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_arrIn file included from ay_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /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": :219:1:In file included from /src/brpc/src/brpc/socket_id.h note: :25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26expanded from here: 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: 21928 | tm: Step #21 - "compile-libfuzzer-address-x86_64": p_sIn file included from tac/src/brpc/src/bvar/latency_recorder.hk_a:rr26ay: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/discovery_naming_service.cpp_s:i26z/src/brpc/src/bvar/detail/percentile.h: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:e289:32: Step #21 - "compile-libfuzzer-address-x86_64": : Step #21 - "compile-libfuzzer-address-x86_64": | ^ 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": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/dynpart_load_balancer.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_authenticator.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :86:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 86 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :82:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 82 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/gzip_compress.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/couchbase_protocol.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/couchbase_protocol.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :195:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 195 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :191:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 191 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/remote_file_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/round_robin_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :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:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :223:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 223 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/rtmp_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :189:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 189 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :185:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/snappy_compress.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/policy/sofa_pbrpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/streaming_rpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/timeout_concurrency_limiter.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/locality_aware_load_balancer.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/ubrpc2pb_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/nacos_naming_service.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/nacos_naming_service.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_arrIn 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:289ay_size]; :16: \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 289 | 364 | memset( gethist, _i0nt,e rvsailz_eaotf(i()*.tmheirsg))e;(* Step #21 - "compile-libfuzzer-address-x86_64": r h| s. ^_ Step #21 - "compile-libfuzzer-address-x86_64": inte/src/brpc/src/bvar/detail/sampler.hr:v40a:l16s:[ i]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": 40 | | Sam ^ple( Step #21 - "compile-libfuzzer-address-x86_64": ) : 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": /src/brpc/src/bvar/detail/percentile.h: 116 | S499a:m12ple tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h::98: 9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 499/src/brpc/src/bvar/detail/percentile.h:289:16 | : note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": b 1.289 | m memset(this, 0, sizeof(*tehriges(b))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": |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64":  |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h: 13258: | DEFINE_SMALL_ARRAY(uint32_t, tm9p, rhs._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": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 426 | 58 char name##_stack_a | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": rr/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": ay 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": s 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": i/src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": zeof 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_s(Tampp)l e*s ,n am6e4##)_;st Step #21 - "compile-libfuzzer-address-x86_64": a c| k_ ^a Step #21 - "compile-libfuzzer-address-x86_64": rray_size];/src/brpc/src/butil/macros.h : 426 : 42 : \ Step #21 - "compile-libfuzzer-address-x86_64": note:  expanded from macro 'DEFINE_SMALL_ARRAY'|  Step #21 - "compile-libfuzzer-address-x86_64": ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64":  426 | /src/brpc/src/bvar/detail/percentile.h : 364 : 36:c harnote: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": n ame##_stack_array[s364i | ze o f  ( T p ) * n a mgee#t#__isnttaecrkv_aalr_raaty(_is)i.zmee]r;g e ( * r h s\._ Step #21 - "compile-libfuzzer-address-x86_64": in t| er ^v Step #21 - "compile-libfuzzer-address-x86_64": als[i]):;40:1: note: Step #21 - "compile-libfuzzer-address-x86_64":  expanded from here|  ^ Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 40/src/brpc/src/bvar/detail/percentile.h | :t499m:p12_:s tacnote: k_in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested herear Step #21 - "compile-libfuzzer-address-x86_64": ra y_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 499 | /src/brpc/src/bvar/detail/percentile.h : 132 : 13b:1 .menote: rgdeclared heree(b Step #21 - "compile-libfuzzer-address-x86_64": 2);/src/brpc/src/butil/macros.h Step #21 - "compile-libfuzzer-address-x86_64": : 425| :20 ^: Step #21 - "compile-libfuzzer-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY'/src/brpc/src/bvar/window.h Step #21 - "compile-libfuzzer-address-x86_64": : 53:17: 425note:  | in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here  Step #21 - "compile-libfuzzer-address-x86_64": const53 |  u n s i g n e d  na m e # # __svtaarc-k>_oapr(r)a(yv_1s,i ze v= 2()n;am Step #21 - "compile-libfuzzer-address-x86_64": e ##_| siz ^e Step #21 - "compile-libfuzzer-address-x86_64": <= (maxsize) ? nam/src/brpc/src/bvar/detail/call_op_returning_void.he#:#29_:s12i:z e :note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here0 Step #21 - "compile-libfuzzer-address-x86_64": ) ; \ Step #21 - "compile-libfuzzer-address-x86_64": | 29 ^ | 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":  return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :185:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :181:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 181 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_randomized_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_round_robin_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :223:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 223 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/memcache_binary_protocol.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/mongo_protocol.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/randomized_load_balancer.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*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/nova_pbrpc_protocol.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :110:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 110 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :106:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 106 | tmp_stack_array_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: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/nshead_mcpack_protocol.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/nshead_protocol.cpp:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16:  65warning: 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": | _series.append(_owner->get_value(1)); 289 |  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": m58 | SeriesSampler(WindowBase* eowner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": m/src/brpc/src/bvar/window.h:s151e:t35:( thnote: isin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": , 0 151, |  s i z e o f ( * t h_isser)ies)_;sa Step #21 - "compile-libfuzzer-address-x86_64": m p| le ^r Step #21 - "compile-libfuzzer-address-x86_64": = new SeriesS/src/brpc/src/bvar/detail/sampler.ha:m40p:l16e:r (tnote: hiin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested heres, _ Step #21 - "compile-libfuzzer-address-x86_64": var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 40 | /src/brpc/src/bvar/latency_recorder.h: 49 :S7:a mplnote: ein instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here() Step #21 - "compile-libfuzzer-address-x86_64": : da49ta | (c),l taissme _Luast(e0)n c{}yR Step #21 - "compile-libfuzzer-address-x86_64": eco | r ^d Step #21 - "compile-libfuzzer-address-x86_64": erBase { Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h: 116| :23 ^ Step #21 - "compile-libfuzzer-address-x86_64": : /src/brpc/src/bvar/detail/percentile.hnote: :132in instantiation of member function 'bvar::detail::Sample>::Sample' requested here:13 Step #21 - "compile-libfuzzer-address-x86_64": : note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 116 | 132 | SDEFINEam_SpMAle Ltm_p;AR Step #21 - "compile-libfuzzer-address-x86_64": R A| Y( ^u Step #21 - "compile-libfuzzer-address-x86_64": int32_t, tmp,/src/brpc/src/bvar/detail/sampler.h rhs._n:98um:9: _samnote: ples, 6in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 4); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:98 | 42 :   note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #21 - "compile-libfuzzer-address-x86_64": t ake_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: 426in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here |  Step #21 - "compile-libfuzzer-address-x86_64": char name##_stack_array[sizeof(529Tp | ) * n a m e # # _ s _sampler =tack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  new sampler_type(t:h219is:1:) ;note:  Step #21 - "compile-libfuzzer-address-x86_64": | expanded from here ^ Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20/src/brpc/src/bvar/detail/percentile.h: :289:note: 16expanded from macro 'DEFINE_SMALL_ARRAY':  Step #21 - "compile-libfuzzer-address-x86_64":  note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | 425m | e m s e t(cotnhsits , un0si,g nesdiz enoafme(#*#_tshtiasck)_)a;rr Step #21 - "compile-libfuzzer-address-x86_64": a y| _s ^i Step #21 - "compile-libfuzzer-address-x86_64": ze | = (void*)( Step #21 - "compile-libfuzzer-address-x86_64": 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/public_pbrpc_protocol.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :223:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 223 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] 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/remote_file_naming_service.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.hunsigned 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": :53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* oIn file included from wner, R* va/src/brpc/src/brpc/policy/round_robin_load_balancer.cppr:22): Step #21 - "compile-libfuzzer-address-x86_64": In file included from Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/socket.h | :34 ^: 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.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h/src/brpc/src/bvar/window.h::25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:15126:: Step #21 - "compile-libfuzzer-address-x86_64": 35In file included from :/src/brpc/src/bthread/bthread.h :32: Step #21 - "compile-libfuzzer-address-x86_64": note: In file included from in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here/src/brpc/src/bthread/mutex.h: Step #21 - "compile-libfuzzer-address-x86_64": 27 : Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: 151 | 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": _series_sampler = new Se289ri | e s S a m p l e rm(emtsheits(,t h_ivsar,) ;0 Step #21 - "compile-libfuzzer-address-x86_64":  ,|  ^s Step #21 - "compile-libfuzzer-address-x86_64": izeof(*t/src/brpc/src/bvar/latency_recorder.hh:i49s: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":  49/src/brpc/src/bvar/detail/sampler.h | :40c:l16a:s s note: Latin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested hereen Step #21 - "compile-libfuzzer-address-x86_64": c yRecorderB40a | s e { S Step #21 - "compile-libfuzzer-address-x86_64": ampl e| () ^: Step #21 - "compile-libfuzzer-address-x86_64": data(),/src/brpc/src/bvar/detail/percentile.h :t132i:m13e:_ us(note: 0initializer of 'tmp_stack_array_size' is not a constant expression) Step #21 - "compile-libfuzzer-address-x86_64": {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23:132 |   note:  in instantiation of member function 'bvar::detail::Sample>::Sample' requested here  Step #21 - "compile-libfuzzer-address-x86_64": DEFINE_SMALL_116AR | R A Y ( u i n t 3 2 _ t ,S atmmppl,e h st.m_pn;um Step #21 - "compile-libfuzzer-address-x86_64": _ s| amp ^l Step #21 - "compile-libfuzzer-address-x86_64": es, 64);/src/brpc/src/bvar/detail/sampler.h: Step #21 - "compile-libfuzzer-address-x86_64": 98 :| 9: ^ Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h :426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(426) | ; Step #21 - "compile-libfuzzer-address-x86_64": |  ^c Step #21 - "compile-libfuzzer-address-x86_64": har /src/brpc/src/bvar/detail/percentile.hn:a529m:e28#:# _stnote: acin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested herek_ Step #21 - "compile-libfuzzer-address-x86_64": a rray[sizeof(Tp) * name##_stack_array529 | _ s i z e ] ; _sampler = new sampler_type( th \ Step #21 - "compile-libfuzzer-address-x86_64": i| s ^) Step #21 - "compile-libfuzzer-address-x86_64": ; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: /src/brpc/src/bvar/detail/percentile.hdeclared here:289 Step #21 - "compile-libfuzzer-address-x86_64": :16: /src/brpc/src/butil/macros.h:425note: :20explicitly cast the pointer to silence this warning: Step #21 - "compile-libfuzzer-address-x86_64":  note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | 289 |  c o n s tme msuents(igtnheids ,n am0e#,# _sstiazceko_far(r*ayt_hsiisze) )=; ( Step #21 - "compile-libfuzzer-address-x86_64": n a| me ^# Step #21 - "compile-libfuzzer-address-x86_64": #_s i| ze (void*) Step #21 - "compile-libfuzzer-address-x86_64": <= (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": [ 91%] 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/block_pool.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. 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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_helper.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/snappy_compress.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :162:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 162 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :189:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 189 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :185:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :223:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 223 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/redis_protocol.cpp:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_command.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] 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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/reloadable_flags.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 he2a warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": der_len = bh.header_length; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1531:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 1531 | char buf[header_len + 4/*extended ts*/]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1531:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1570:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 1570 | char buf[header_len]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1570:22: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/restful.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/retry_policy.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1933:14: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 1933 | char buf[mh.message_length]; // safe to put on stack. Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1933:14: note: function parameter 'mh' with unknown value cannot be used in a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1927:30: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 1927 | const RtmpMessageHeader& mh, butil::IOBuf* msg_body, Socket* socket) { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_dump.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/streaming_rpc_protocol.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/streaming_rpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_pb_message_factory.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rtmp.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /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": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/selective_channel.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :188:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 188 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :184:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 184 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :217:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 217 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :213:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 213 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_request.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_response.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server_id.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/rtmp_protocol.cpp:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/weighted_randomized_load_balancer.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/weighted_round_robin_load_balancer.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 4 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/simple_data_pool.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket.cpp.o 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket_map.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/span.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ssl_options.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/stream.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :223:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 223 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :223:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 223 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/progressive_attachment.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [100%] 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64":  name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :182:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 182 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :178:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 178 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ts.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/uri.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.cpp:42: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/restful.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/restful.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/retry_policy.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/retry_policy.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :195:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 195 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :191:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 191 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/rpc_dump.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :14:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 14 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :10:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 10 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server_id.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server_id.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :200:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 200 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :196:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 196 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /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": /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": 425 | const u ns398i | gned name##_stack_ar 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": ray_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/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :194:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 194 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :190:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 190 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 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/selective_channel.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/span.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/rtmp.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/trackme.cpp:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/server.cpp:2004:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 2004 | char buf[fullname_len]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/server.cpp:2004:18: note: initializer of 'fullname_len' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/server.cpp:2001:18: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 2001 | const size_t fullname_len = service_name.size() + 1 + method_name.size(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :185:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :181:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 181 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :162:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 162 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :183:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 183 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :179:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 179 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/stream.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/stream.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here/src/brpc/src/bvar/detail/percentile.h: Step #21 - "compile-libfuzzer-address-x86_64": 132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 116 | S132a | m p l e < T > t m p ; D Step #21 - "compile-libfuzzer-address-x86_64": E F| IN ^E Step #21 - "compile-libfuzzer-address-x86_64": _SMALL_A/src/brpc/src/bvar/detail/sampler.hR:R98A:Y(9u:i nt3note: 2_in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested heret, Step #21 - "compile-libfuzzer-address-x86_64": tmp, rhs._n um98_ | s a m p l e s , ta6k4e); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": _/src/brpc/src/butil/macros.h:426s:amp29l:e ();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": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) 529* | n a m e # # _ s t a c k__saarmrpalye_rs i=z e]n;e w  \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64":  sam/src/brpc/src/bvar/detail/percentile.hp:l364e:r36_:t ypenote: (in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested hereth Step #21 - "compile-libfuzzer-address-x86_64": is); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h/src/brpc/src/bvar/detail/percentile.h::499289::1216:: note: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested hereexplicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1 .289m | e r g e(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | m e m s e_tv(art-h>iosp(,) (v01,, v2s)i;ze Step #21 - "compile-libfuzzer-address-x86_64": o f| ( ^* Step #21 - "compile-libfuzzer-address-x86_64": this))/src/brpc/src/bvar/detail/call_op_returning_void.h;:29 Step #21 - "compile-libfuzzer-address-x86_64": : 12| : ^ Step #21 - "compile-libfuzzer-address-x86_64": note: | in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here (void*) 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": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :182:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 182 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :178:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 178 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server.cpp:36: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :162:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 162 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.cpp:42: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/event_dispatcher.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/ts.cpp:38: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/rtmp_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :206:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 206 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :202:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 202 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :204:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 204 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :200:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 200 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :25:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 25 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :21:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 21 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :9:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 9 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :5:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 5 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 4 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 7 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX static library ../output/lib/libbrpc-static-debug.a Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_butil.dir/fuzzing/fuzz_butil.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_butil Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_butil Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_esp.dir/fuzzing/fuzz_esp.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_esp.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :189:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 189 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :185:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_esp Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_esp Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_hpack.dir/fuzzing/fuzz_hpack.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_hpack Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_hpack Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_http.dir/fuzzing/fuzz_http.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_http.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :40:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 40 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :36:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 36 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_http Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_http Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 15%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/fuzz_hulu.dir/fuzzing/fuzz_hulu.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_hulu.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :242:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 242 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :238:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 238 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_hulu Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_hulu Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_json.dir/fuzzing/fuzz_json.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_json Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_json Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_redis.dir/fuzzing/fuzz_redis.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_redis Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_redis Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_shead.dir/fuzzing/fuzz_shead.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_shead.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/nshead_pb_service_adaptor.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :40:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 40 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :36:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 36 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_shead Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_shead Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_sofa.dir/fuzzing/fuzz_sofa.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_sofa.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :222:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 222 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :218:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 218 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_sofa Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_sofa Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 15%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/fuzz_uri.dir/fuzzing/fuzz_uri.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_uri.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/rtmp.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :195:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 195 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :191:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 191 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_uri Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_uri Step #21 - "compile-libfuzzer-address-x86_64": + cp test/fuzz_butil test/fuzz_esp test/fuzz_hpack test/fuzz_http test/fuzz_hulu test/fuzz_json test/fuzz_redis test/fuzz_shead test/fuzz_sofa test/fuzz_uri /workspace/out/libfuzzer-address-x86_64/ Step #21 - "compile-libfuzzer-address-x86_64": + pushd /lib/x86_64-linux-gnu/ Step #21 - "compile-libfuzzer-address-x86_64": /lib/x86_64-linux-gnu /src/brpc/build Step #21 - "compile-libfuzzer-address-x86_64": + mkdir -p /workspace/out/libfuzzer-address-x86_64/lib/ Step #21 - "compile-libfuzzer-address-x86_64": + cp libgflags.a libgflags.so libgflags.so.2.2 libgflags.so.2.2.2 libgflags_nothreads.a libgflags_nothreads.so libgflags_nothreads.so.2.2 libgflags_nothreads.so.2.2.2 libprotobuf-lite.a libprotobuf-lite.so libprotobuf-lite.so.17 libprotobuf-lite.so.17.0.0 libprotobuf.a libprotobuf.so libprotobuf.so.17 libprotobuf.so.17.0.0 libleveldb.a libleveldb.so libleveldb.so.1.22.0 libleveldb.so.1d libprotoc.a libprotoc.so libprotoc.so.17 libprotoc.so.17.0.0 libsnappy-shared.a libsnappy.a libsnappy.so libsnappy.so.1 libsnappy.so.1.1.8 /workspace/out/libfuzzer-address-x86_64/lib/. Step #21 - "compile-libfuzzer-address-x86_64": + popd Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/build Step #21 - "compile-libfuzzer-address-x86_64": + pushd /src/brpc/test/fuzzing Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/test/fuzzing /src/brpc/build Step #21 - "compile-libfuzzer-address-x86_64": + zip /workspace/out/libfuzzer-address-x86_64/fuzz_json_seed_corpus.zip fuzz_json_seed_corpus/info1.json fuzz_json_seed_corpus/info2.json fuzz_json_seed_corpus/info3.json Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_json_seed_corpus/info1.json (deflated 10%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_json_seed_corpus/info2.json (deflated 17%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_json_seed_corpus/info3.json (deflated 44%) Step #21 - "compile-libfuzzer-address-x86_64": + zip /workspace/out/libfuzzer-address-x86_64/fuzz_uri_seed_corpus.zip fuzz_uri_seed_corpus/data_1.rtmp fuzz_uri_seed_corpus/data_1.uri fuzz_uri_seed_corpus/data_2.uri Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_uri_seed_corpus/data_1.rtmp (stored 0%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_uri_seed_corpus/data_1.uri (stored 0%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_uri_seed_corpus/data_2.uri (stored 0%) Step #21 - "compile-libfuzzer-address-x86_64": + zip /workspace/out/libfuzzer-address-x86_64/fuzz_redis_seed_corpus.zip fuzz_redis_seed_corpus/command_parser.redis fuzz_redis_seed_corpus/request.redis Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_redis_seed_corpus/command_parser.redis (deflated 26%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_redis_seed_corpus/request.redis (stored 0%) Step #21 - "compile-libfuzzer-address-x86_64": + zip /workspace/out/libfuzzer-address-x86_64/fuzz_http_seed_corpus.zip fuzz_http_seed_corpus/http_request.http fuzz_http_seed_corpus/http_request_v2.http Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_http_seed_corpus/http_request.http (deflated 19%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_http_seed_corpus/http_request_v2.http (deflated 35%) Step #21 - "compile-libfuzzer-address-x86_64": + zip /workspace/out/libfuzzer-address-x86_64/fuzz_butil_seed_corpus.zip fuzz_butil_seed_corpus/base64_decoded.txt fuzz_butil_seed_corpus/base64_encoded.txt fuzz_butil_seed_corpus/crc32c.data Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_butil_seed_corpus/base64_decoded.txt (stored 0%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_butil_seed_corpus/base64_encoded.txt (stored 0%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_butil_seed_corpus/crc32c.data (deflated 63%) Step #21 - "compile-libfuzzer-address-x86_64": + zip /workspace/out/libfuzzer-address-x86_64/fuzz_hpack_seed_corpus.zip fuzz_hpack_seed_corpus/header_never_indexed.hpack fuzz_hpack_seed_corpus/header_with_indexing.hpack fuzz_hpack_seed_corpus/header_without_indexing.hpack fuzz_hpack_seed_corpus/requests_without_huffman.hpack fuzz_hpack_seed_corpus/responses_without_huffman.hpack Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_hpack_seed_corpus/header_never_indexed.hpack (stored 0%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_hpack_seed_corpus/header_with_indexing.hpack (deflated 15%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_hpack_seed_corpus/header_without_indexing.hpack (stored 0%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_hpack_seed_corpus/requests_without_huffman.hpack (deflated 10%) Step #21 - "compile-libfuzzer-address-x86_64": adding: fuzz_hpack_seed_corpus/responses_without_huffman.hpack (deflated 1%) Step #21 - "compile-libfuzzer-address-x86_64": + popd Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/build Finished Step #21 - "compile-libfuzzer-address-x86_64" Starting Step #22 - "build-check-libfuzzer-address-x86_64" Step #22 - "build-check-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpi98t5_n6/fuzz_json Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpi98t5_n6/fuzz_shead Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpi98t5_n6/fuzz_butil Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpi98t5_n6/fuzz_esp Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpi98t5_n6/fuzz_redis Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpi98t5_n6/fuzz_hpack Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpi98t5_n6/fuzz_http Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpi98t5_n6/fuzz_hulu Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpi98t5_n6/fuzz_uri Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpi98t5_n6/fuzz_sofa Finished Step #22 - "build-check-libfuzzer-address-x86_64" Starting Step #23 Step #23: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #23 Starting Step #24 Step #24: Already have image: gcr.io/oss-fuzz/brpc Step #24: adding: fuzz_butil (deflated 67%) Step #24: adding: fuzz_butil_seed_corpus.zip (stored 0%) Step #24: adding: fuzz_esp (deflated 67%) Step #24: adding: fuzz_hpack (deflated 67%) Step #24: adding: fuzz_hpack_seed_corpus.zip (stored 0%) Step #24: adding: fuzz_http (deflated 67%) Step #24: adding: fuzz_http_seed_corpus.zip (stored 0%) Step #24: adding: fuzz_hulu (deflated 67%) Step #24: adding: fuzz_json (deflated 67%) Step #24: adding: fuzz_json_seed_corpus.zip (stored 0%) Step #24: adding: fuzz_redis (deflated 67%) Step #24: adding: fuzz_redis_seed_corpus.zip (stored 0%) Step #24: adding: fuzz_shead (deflated 67%) Step #24: adding: fuzz_sofa (deflated 67%) Step #24: adding: fuzz_uri (deflated 67%) Step #24: adding: fuzz_uri_seed_corpus.zip (stored 0%) Step #24: adding: lib/ (stored 0%) Step #24: adding: lib/libprotobuf.so.17 (deflated 66%) Step #24: adding: lib/libgflags_nothreads.so.2.2.2 (deflated 59%) Step #24: adding: lib/libsnappy.so.1.1.8 (deflated 62%) Step #24: adding: lib/libprotoc.so.17 (deflated 66%) Step #24: adding: lib/libgflags_nothreads.so (deflated 59%) Step #24: adding: lib/libgflags.so.2.2 (deflated 59%) Step #24: adding: lib/libprotoc.a (deflated 76%) Step #24: adding: lib/libsnappy.so.1 (deflated 62%) Step #24: adding: lib/libprotobuf-lite.a (deflated 79%) Step #24: adding: lib/libprotoc.so.17.0.0 (deflated 66%) Step #24: adding: lib/libgflags.a (deflated 70%) Step #24: adding: lib/libprotobuf.a (deflated 79%) Step #24: adding: lib/libgflags_nothreads.so.2.2 (deflated 59%) Step #24: adding: lib/libsnappy-shared.a (deflated 67%) Step #24: adding: lib/libprotobuf.so (deflated 66%) Step #24: adding: lib/libsnappy.a (deflated 67%) Step #24: adding: lib/libgflags.so.2.2.2 (deflated 59%) Step #24: adding: lib/libprotobuf-lite.so.17 (deflated 66%) Step #24: adding: lib/libsnappy.so (deflated 62%) Step #24: adding: lib/libprotobuf-lite.so.17.0.0 (deflated 66%) Step #24: adding: lib/libprotobuf.so.17.0.0 (deflated 66%) Step #24: adding: lib/libprotobuf-lite.so (deflated 66%) Step #24: adding: lib/libgflags_nothreads.a (deflated 70%) Step #24: adding: lib/libleveldb.so (deflated 57%) Step #24: adding: lib/libleveldb.so.1.22.0 (deflated 57%) Step #24: adding: lib/libprotoc.so (deflated 66%) Step #24: adding: lib/libleveldb.a (deflated 73%) Step #24: adding: lib/libleveldb.so.1d (deflated 57%) Step #24: adding: lib/libgflags.so (deflated 59%) Step #24: adding: llvm-symbolizer (deflated 65%) Finished Step #24 Starting Step #25 Step #25: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #25: % Total % Received % Xferd Average Speed Time Time Time Current Step #25: Dload Upload Total Spent Left Speed Step #25: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 147 0 0 100 147 0 689 --:--:-- --:--:-- --:--:-- 686 100 147 0 0 100 147 0 686 --:--:-- --:--:-- --:--:-- 683 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 17 210M 0 0 17 36.5M 0 116M 0:00:01 --:--:-- 0:00:01 116M 78 210M 0 0 78 165M 0 125M 0:00:01 0:00:01 --:--:-- 125M 100 210M 0 0 100 210M 0 107M 0:00:01 0:00:01 --:--:-- 107M 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 390 --:--:-- --:--:-- --:--:-- 390 Finished Step #27 Starting Step #28 Step #28: Already have image (with digest): gcr.io/cloud-builders/curl Step #28: % Total % Received % Xferd Average Speed Time Time Time Current Step #28: Dload Upload Total Spent Left Speed Step #28: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 29 0 0 100 29 0 167 --:--:-- --:--:-- --:--:-- 167 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.6s) 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 v3.pb.h, v3.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 addressbook.pb.h, addressbook.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 addressbook1.pb.h, addressbook1.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating brpc/get_favicon.pb.h, brpc/get_favicon.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating brpc/get_js.pb.h, brpc/get_js.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating addressbook_map.pb.h, addressbook_map.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating brpc/grpc_health_check.pb.h, brpc/grpc_health_check.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating echo.pb.h, echo.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating addressbook_encode_decode.pb.h, addressbook_encode_decode.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating brpc/nshead_meta.pb.h, brpc/nshead_meta.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 brpc/policy/baidu_rpc_meta.pb.h, brpc/policy/baidu_rpc_meta.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 health_check.pb.h, health_check.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 iobuf.pb.h, iobuf.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 message.pb.h, message.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 brpc/policy/sofa_pbrpc_meta.pb.h, brpc/policy/sofa_pbrpc_meta.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating repeated.pb.h, repeated.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating brpc/proto_base.pb.h, brpc/proto_base.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating brpc/rpc_dump.pb.h, brpc/rpc_dump.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating snappy_message.pb.h, snappy_message.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating v1.pb.h, v1.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating v2.pb.h, v2.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Generating brpc/span.pb.h, brpc/span.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Generating brpc/rtmp.pb.h, brpc/rtmp.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Generating brpc/trackme.pb.h, brpc/trackme.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/g_fmt.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dynamic_annotations/dynamic_annotations.c.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/dtoa_wrapper.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/icu/icu_utf.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/superfasthash/superfasthash.c.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/modp_b64/modp_b64.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/symbolize.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/demangle.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-sinksource.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-stubs-internal.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/murmurhash3/murmurhash3.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/arena.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/at_exit.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/atomicops_internals_x86_gcc.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64url.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/big_endian.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/cpu.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/alias.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/asan_invalid_access.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/crash_logging.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/dump_without_crashing.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/proc_maps_linux.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/environment.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/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] 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/TEST_PROTO_LIB.dir/addressbook1.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/idl_options.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/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_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path_constants.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_file.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_temp_dir.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/hash.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/lazy_instance.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/location.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/aligned_memory.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted_memory.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] Building CXX object 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": [ 24%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fast_rand.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/safe_strerror_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/sha1_portable.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/latin1_string_conversions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/nullable_string16.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/safe_sprintf.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string16.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_number_conversions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_split.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_piece.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util_constants.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/stringprintf.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_offset_string_conversions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversion_utils.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/cancellation_flag.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/condition_variable_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/waitable_event_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/non_thread_safe_impl.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/simple_thread.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_checker_impl.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_collision_warner.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_id_name_manager.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_restrictions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/watchdog.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/clock.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_clock.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_tick_clock.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/tick_clock.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/version.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/logging.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/class_name.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/errno.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/find_cstr.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/status.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/string_printf.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_local.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_key.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/unix_socket.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/endpoint.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fd_utility.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/temp_file.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_watcher.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/zero_copy_stream_as_streambuf.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 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": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/crc32c.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/single_iobuf.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf_profiler.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/binary_printer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/recordio.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/popen.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_linux.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_linux.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/sys_string_conversions_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/span.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/builtin_service.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/grpc_health_check.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_js.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/errno.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/nshead_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] 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": [ 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": [ 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 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": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_map.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/iobuf.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": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/message.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/repeated.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/iobuf.cpp:833:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 833 | struct iovec vec[nref]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/iobuf.cpp:833:22: note: initializer of 'nref' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/iobuf.cpp:832:18: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 832 | const size_t nref = std::min(_ref_num(), IOBUF_IOV_MAX); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/iobuf.cpp:864:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 864 | struct iovec vec[nref]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/iobuf.cpp:864:22: note: initializer of 'nref' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/iobuf.cpp:863:18: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 863 | const size_t nref = std::min(_ref_num(), IOBUF_IOV_MAX); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/snappy_message.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v1.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v2.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v3.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/grpc.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/health_check.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": 1 warning generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/collector.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/default_variables.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/percentile.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/sampler.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/gflag.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/mvariable.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/variable.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/latency_recorder.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread_once.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/butex.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/condition_variable.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/context.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/countdown_event.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/errno.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/execution_queue.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/fd.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/id.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/key.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/interrupt_pthread.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/mutex.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/rwlock.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_tracer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/timer_thread.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/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/json2pb/pb_to_json.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_map.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_type_resolver.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/field_type.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/mcpack2pb.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/parser.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/serializer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/acceptor.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_connection_type.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_max_concurrency.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.cpp:75:39: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<30UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 75 | g->get_interval_at(index).merge(interval); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :134:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 134 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :130:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 130 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<30>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/combiner.h:225:63: note: in instantiation of member function 'bvar::detail::PercentileSamples<30>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 225 | 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::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 680 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:1344:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 1344 | : _M_ptr(), _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::detail::AddPercentileSamples>>::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 359 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:701:14: note: in instantiation of function template specialization 'std::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 701 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:717:19: note: in instantiation of function template specialization 'std::allocate_shared, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 717 | return std::allocate_shared<_Tp>(std::allocator<_Tp_nc>(), Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.cpp:89:22: note: in instantiation of function template specialization 'std::make_shared, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 89 | : _combiner(std::make_shared()), _sampler(NULL) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/countdown_event.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/countdown_event.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.cpp:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<1022>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.cpp:64:55: note: in instantiation of member function 'bvar::detail::PercentileSamples<1022>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 64 | std::unique_ptr cb(new CombinedPercentileSamples); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/id.cpp:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this))/src/brpc/src/bvar/detail/percentile.h:132:13: ;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":  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 132 |  DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :166:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :162:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 162 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | In file included from /src/brpc/src/bvar/collector.cpp : 24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h : 27: Step #30 - "compile-libfuzzer-undefined-x86_64": cIn file included from a/src/brpc/src/bvar/latency_recorder.h:ll26: Step #30 - "compile-libfuzzer-undefined-x86_64": _/src/brpc/src/bvar/detail/percentile.h:op289:_16: rewarning: tfirst 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": urning_ 289 | memset(thisv, 0, osizeofid((*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.ho:p40:16: , tnote: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": mp, _ 40 | daSample() : data(), time_usta(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": .|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": se/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": c ond116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_s(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16:  529 | _sampler = new samplnote: er_type(this);in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op);/src/brpc/src/bvar/detail/percentile.h Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^:289: Step #30 - "compile-libfuzzer-undefined-x86_64": 16:/src/brpc/src/bvar/window.h: 65:25: note: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested hereexplicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | 289 _ | s e r i es .a pp emnedm(_sowenetr(->getth_ivsal,u e(01, ))s;iz Step #30 - "compile-libfuzzer-undefined-x86_64": e |  ^o Step #30 - "compile-libfuzzer-undefined-x86_64": f(*/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 | thi s) SeriesSa); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": mpler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :176:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 176 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :172:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 172 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :176:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 176 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :172:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 172 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Built target TEST_PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/amf.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/fd.cpp:36: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/execution_queue.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/execution_queue.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529In file included from :28: /src/brpc/src/bthread/key.cppnote: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": :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: 529 | 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 :_289s:ampler16 =: new warning: samplefirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]r_typ Step #30 - "compile-libfuzzer-undefined-x86_64": e(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^289 Step #30 - "compile-libfuzzer-undefined-x86_64": |  memset(this, 0, sizeof(*this/src/brpc/src/bvar/detail/percentile.h:));289:16: Step #30 - "compile-libfuzzer-undefined-x86_64":  | note:  ^explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: 289in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here |  Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | memset (  this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*)S Step #30 - "compile-libfuzzer-undefined-x86_64": ample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/timer_thread.cpp:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/baidu_master_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :153:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 153 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 161 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/butex.cpp:35: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bad_method_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] 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/bthread/task_control.cpp:599:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 599 | DEFINE_SMALL_ARRAY(int, nums, ngroup, 128); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: note: initializer of 'nums_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :111:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 111 | nums_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h/src/brpc/src/bvar/detail/percentile.h:425:20: :132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples,note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :107:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 107 | nums_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168: 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": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 13:  426note: | char name##_stain 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 | c kc_aalrlr_ay[sizeoop_f(Tp)r * name##_steatck_arruayr_nsiiznge]; _ \v Step #30 - "compile-libfuzzer-undefined-x86_64": oid(op,|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64":  t/src/brpc/src/bvar/detail/percentile.h:364:36:m p, note: _din instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": ata .second(364i)); 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 |  SeriesSamp/src/brpc/src/bvar/detail/percentile.hler(Win:d132owBase*: owner, R* 13var): 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": ^ Step #30 - "compile-libfuzzer-undefined-x86_64": |  132 |  D E/src/brpc/src/bvar/window.h:151:35F: INEnote: _SMAL in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here  Step #30 - "compile-libfuzzer-undefined-x86_64": L 151 | _ _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :164:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 164 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :160:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 160 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": A53 | R R A Y (_uvar->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": | i ^ Step #30 - "compile-libfuzzer-undefined-x86_64": nt/src/brpc/src/bvar/detail/call_op_returning_void.h3:29:12: note: 2in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here_ Step #30 - "compile-libfuzzer-undefined-x86_64": t, tm 29 | pret, urrhns. _onpu(mv_1s,a mvp2l)e;s, 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 Step #30 - "compile-libfuzzer-undefined-x86_64": :168:13: /src/brpc/src/butil/macros.hnote: :426in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here:29 Step #30 - "compile-libfuzzer-undefined-x86_64": : note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | 426 | c alclh_aor name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class pLatencyRecorde_rBrase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": eturnin/src/brpc/src/bvar/detail/percentile.hg_void(:op,132 tm:p, /src/brpc/src/bvar/detail/percentile.h13_:data.:s132:13: note: initializer of 'tmp_stack_array_size' is not a constant expressionecowarning: nd(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :173:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 173 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :169:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 169 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": DE 132 | F I NDEEFINE_SMA_LL_ARRAY(uSint32_t, tmp, rhs._num/src/brpc/src/bvar/detail/percentile.h:132:_13samp:l es, 64);MALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :164:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 164 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :160:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 160 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_s 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": a426m | p l e r =c hanrew n aSmeer#i#e_ssStaamcpkl_earr(ratyh[issi,z e_ovfar()T;p) Step #30 - "compile-libfuzzer-undefined-x86_64": *| n ^a Step #30 - "compile-libfuzzer-undefined-x86_64": me##_stack_arr/src/brpc/src/bvar/latency_recorder.ha:y49_:s7i:z e];note:  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": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64":  49/src/brpc/src/bvar/detail/percentile.h | :364c:l36a:s s note: Lain instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herete Step #30 - "compile-libfuzzer-undefined-x86_64": ncyRecord e364r | 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:132: 13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFIN get_iE_SMALL_ARRAnY(uintt32_t, tmp, rehsrv._anulm__samatpl(ies, ).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 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.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16:  warning: 116 | return appefirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]nd Step #30 - "compile-libfuzzer-undefined-x86_64": _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": 289 65 | | _ s eries.append( _ owner->get_va 64); Step #30 - "compile-libfuzzer-undefined-x86_64": l |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ue(/src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 1)); 426 | char name##_stack_array[sizeof(Tp) * name##_stack_arra Step #30 - "compile-libfuzzer-undefined-x86_64": y_s |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :170:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 170 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :166:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": ize]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 161 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/connections_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :164:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 164 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :160:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 160 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29In file included from : note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bthread/task_control.cpp:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": | 426 | c ^ Step #30 - "compile-libfuzzer-undefined-x86_64": har name##_s/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": tack_array[sizeof(Tp) * name##_stack_arra y40 | _ size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": Sampl|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:e(364:)36 :: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here data(), time_us(0)  Step #30 - "compile-libfuzzer-undefined-x86_64": {} Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  get_interval_at(i).merge(*/src/brpc/src/bvar/detail/sampler.h:rhs.116_i:nte23rva:ls[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here499 Step #30 - "compile-libfuzzer-undefined-x86_64": | 116 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":   /src/brpc/src/bvar/window.h:53 :17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _vaSar->op(m)(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": | ple< ^ Step #30 - "compile-libfuzzer-undefined-x86_64": T> tm/src/brpc/src/bvar/detail/call_op_returning_void.h:29p:;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 | Step #30 - "compile-libfuzzer-undefined-x86_64": 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 | /src/brpc/src/bvar/detail/sampler.h: call_op_re98:9: turning_void(op, tmp, _datnote: a.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": in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here116 | return 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": 98/src/brpc/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 | t a k e _series.append(_owner->get_valu_es(amp1le)());; 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/window.h:58/src/brpc/src/bvar/detail/percentile.h::9: 529note: :28:in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here  Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here  Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | Series529S | a m p l e r( W i n d o w_sBaamspel*e ro w= 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:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :195:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 195 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :191:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 191 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/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": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/dir_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :160:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 160 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :156:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 156 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flags_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flot_min_js.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_group.cpp:36: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_favicon_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_js_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :170:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 170 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :166:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/grpc_health_check_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/health_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :189:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 189 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :185:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 185 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 3 warnings generated. 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/hotspots_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/ids_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/index_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/jquery_min_js.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/list_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/adaptive_max_concurrency.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/acceptor.cpp:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/acceptor.h:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :222:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 222 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :218:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 218 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.h:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/method_status.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: In file included from /src/brpc/src/brpc/builtin/bthreads_service.cpp:note: 19initializer of 'tmp_stack_array_size' is not a constant expression: 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": Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from 132/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 : D26E: Step #30 - "compile-libfuzzer-undefined-x86_64": FI/src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | NE_SMALL_ARRAY(uint32_t, tmp, rhs._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_ar Sarmpalye[(sizeof(Tp) * name##_st) : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": ack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 161 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v112 warnings generated. 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/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :176:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 176 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :172:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 172 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_perl.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 161 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/common.cpp:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/prometheus_metrics_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/protobufs_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/rpcz_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/dir_service.cpp:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sockets_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sorttable_js.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/bad_method_service.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/status_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :199:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 199 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :195:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 195 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/threads_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/connections_service.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/get_js_service.cpp:20: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*tIn file included from /src/brpc/src/brpc/builtin/flags_service.cpphi:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37s)); 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": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vars_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/get_favicon_service.cpp:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :229:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 229 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :225:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 225 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/viz_min_js.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/grpc_health_check_service.cpp:20: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this2 warnings generated. 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::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vlog_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/health_service.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/channel.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/checksum.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/ids_service.cpp:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | c/src/brpc/src/bvar/detail/percentile.h:132:13: warning: all_op_returning_void(op, tmp, _datavariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": .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 | 132 | r DEetFIurNEn _SMAappeLL_ARRnd_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 | A _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": | Y ^ 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": u 58 | i n SeritesS32_at,m ptmpl, rhs._numer(Win_dsoamwpBase*l 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 herees, 64 Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _se);ri Step #30 - "compile-libfuzzer-undefined-x86_64": es_|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": sampler /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": =  new 426 | Series S a mpclhearr( nathis,me##_ _vstack_array[sizeoaf(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:r36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": ); 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  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": /src/brpc/src/bvar/detail/percentile.h:499:12: 49 | clanote: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": s s499 |  b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 2 29 | warning return op(v1s generated. Step #30 - "compile-libfuzzer-undefined-x86_64": LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :240:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 240 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :236:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 236 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": , v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/circuit_breaker.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/index_service.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warning/src/brpc/src/bvar/detail/percentile.h:289s generated:16. Step #30 - "compile-libfuzzer-undefined-x86_64": : note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/cluster_recover_policy.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/compress.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/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/couchbase.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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/health_check.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/list_service.cpp:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/hotspots_service.cpp:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :16:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 16 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :12:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 12 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/hpack.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_message.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_parser.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": | [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/jemalloc_profiler.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64":  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :50:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 50 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :46:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 46 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/memory_service.cpp:20: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0[ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/load_balancer_with_naming.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": ) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/mesalink_ssl_helper.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/pprof_service.cpp:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/method_status.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/protobufs_service.cpp:20: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/naming_service_thread.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uinIn file included from /src/brpc/src/brpc/builtin/prometheus_metrics_service.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": t32In 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:26t, tmp: 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": rhIn file included from s/src/brpc/src/bthread/mutex.h.:_27n: Step #30 - "compile-libfuzzer-undefined-x86_64": umIn file included from /src/brpc/src/bvar/utils/lock_timer.h_:s28a: Step #30 - "compile-libfuzzer-undefined-x86_64": mIn file included from p/src/brpc/src/bvar/latency_recorder.hl:e26s, : Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h64:)289;:16 Step #30 - "compile-libfuzzer-undefined-x86_64": : | warning: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": 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": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, si426z | e o f  (ch*arth insame)#)#;_s Step #30 - "compile-libfuzzer-undefined-x86_64": t a| ck ^_ Step #30 - "compile-libfuzzer-undefined-x86_64": array[size/src/brpc/src/bvar/detail/sampler.ho:f40:(16T:p ) *note: nin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested heream Step #30 - "compile-libfuzzer-undefined-x86_64": e##_stac k_a40r | ra y _ s iSzea]m;p l e () : d a\ta Step #30 - "compile-libfuzzer-undefined-x86_64": ( )| , ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~t Step #30 - "compile-libfuzzer-undefined-x86_64": ime_us(/src/brpc/src/bvar/detail/percentile.h:0364:)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": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | cal|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": l_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :250:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 250 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :246:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 246 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/rtmp_utils.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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/ssl_helper.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/details/tcmalloc_extension.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/details/usercode_backup_pool.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expressionIn file included from /src/brpc/src/brpc/builtin/sockets_service.cpp:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us (0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | takDeE_FsIaNmEp_lSeM(A)L;L_ Step #30 - "compile-libfuzzer-undefined-x86_64": A R| RA ^Y Step #30 - "compile-libfuzzer-undefined-x86_64": (uint32_/src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": t, tmp, rhs._num_samples,  65294 |  ) ;  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  _/src/brpc/src/butil/macros.hs:a426m:p42l:e r =note: expanded from macro 'DEFINE_SMALL_ARRAY'ne Step #30 - "compile-libfuzzer-undefined-x86_64": w sampler_type(this )426; |  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^c Step #30 - "compile-libfuzzer-undefined-x86_64": har name##_stack_array[sizeof(Tp) * name##_stack_array_size];  /src/brpc/src/bvar/detail/percentile.h : 289\:16 Step #30 - "compile-libfuzzer-undefined-x86_64": : |  ^note: Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1:explicitly cast the pointer to silence this warning  Step #30 - "compile-libfuzzer-undefined-x86_64": note: expanded from here 289 | me Step #30 - "compile-libfuzzer-undefined-x86_64": mset(this,  0,219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_sa/src/brpc/src/bvar/detail/percentile.h:132:13:mpl es,warning:  variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 6 132 | 4  )D;EF Step #30 - "compile-libfuzzer-undefined-x86_64": I |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": NE_SMAL/src/brpc/src/butil/macros.hL_:A426R:R42A:Y (uinote: ntexpanded from macro 'DEFINE_SMALL_ARRAY'32_ Step #30 - "compile-libfuzzer-undefined-x86_64": t, tmp, rhs426. | _ nu m _ scahmaprl ensa,m e##_6s4ta)c;k_ Step #30 - "compile-libfuzzer-undefined-x86_64": ar r| ay ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[ Step #30 - "compile-libfuzzer-undefined-x86_64": sizeof/src/brpc/src/butil/macros.h(:T426p:)29 :* nanote: me#expanded from macro 'DEFINE_SMALL_ARRAY'#_ Step #30 - "compile-libfuzzer-undefined-x86_64": s tack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :426219: | 1 :  note: chexpanded from herear Step #30 - "compile-libfuzzer-undefined-x86_64":  name##_stack_ar219ra | yt[mps_istzaecokf_a(rTrpa)y _*s inzaeme Step #30 - "compile-libfuzzer-undefined-x86_64": # #| _s^t Step #30 - "compile-libfuzzer-undefined-x86_64": ack_array_/src/brpc/src/bvar/detail/percentile.hs:i132z:e13]:;   note:  declared here \ Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": | /src/brpc/src/butil/macros.h ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~: Step #30 - "compile-libfuzzer-undefined-x86_64": 425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h :364:36: note: 425in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here |  Step #30 - "compile-libfuzzer-undefined-x86_64": co364ns | t   u n s i g n e d  n a mgee#t#__isnttaecrkv_aalr_raaty(_is)i.zmee r=g e((n*armhes#.#__isnitzeer v::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2);|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 27: Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hereIn 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:21525: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h::261: 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 note: /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": expanded from here/src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this) Step #30 - "compile-libfuzzer-undefined-x86_64": ) ; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2);/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 |  Step #30 - "compile-libfuzzer-undefined-x86_64": | Sam ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ple()/src/brpc/src/bvar/detail/series.h:168: : data(), ti13: note: in 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 | me_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h: 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 here116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :229:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 229 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :225:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 225 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/esp_message.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/event_dispatcher.cpp.o 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/global.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/grpc.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :229:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 229 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :225:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 225 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(/src/brpc/src/bvar/detail/percentile.h:132:13: 1))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": ^ 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 | SeriesSam132 | plerD(EWFiInNdEo_wSBMasAeL*L _oAwRnReArY,( uRi*n tv3a2r_)t, Step #30 - "compile-libfuzzer-undefined-x86_64": t| mp ^, Step #30 - "compile-libfuzzer-undefined-x86_64": rhs._num_/src/brpc/src/bvar/window.hs:a151m:p35l:e s, note: 6in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here4 Step #30 - "compile-libfuzzer-undefined-x86_64": ) ; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": 151/src/brpc/src/butil/macros.h | : 426 : 29 :   note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #30 - "compile-libfuzzer-undefined-x86_64": _ series_samp426l | e r = cnhaerw nSaemrei#e#s_Ssatmapclke_ra(rrtahyi[s,s iz_evoafr)(;Tp Step #30 - "compile-libfuzzer-undefined-x86_64": ) | * ^n Step #30 - "compile-libfuzzer-undefined-x86_64": ame##_sta/src/brpc/src/bvar/latency_recorder.hc:k49_:a7r:r ay_snote: izin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested heree] Step #30 - "compile-libfuzzer-undefined-x86_64": ; 49\ |  Step #30 - "compile-libfuzzer-undefined-x86_64": c l| as ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": s Laten/src/brpc/src/bvar/detail/percentile.hc:y364R:e36c:o rdenote: rBin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested hereas Step #30 - "compile-libfuzzer-undefined-x86_64": e { Step #30 - "compile-libfuzzer-undefined-x86_64": | 364 ^ | Step #30 - "compile-libfuzzer-undefined-x86_64":   /src/brpc/src/bvar/detail/percentile.h : 132 : 13g:e t_inote: ntinitializer of 'tmp_stack_array_size' is not a constant expressioner Step #30 - "compile-libfuzzer-undefined-x86_64": v al_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:13212:  |  note:  in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here  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": 499 | b1.m/src/brpc/src/butil/macros.herg:e426(:b42: 2);note:  Step #30 - "compile-libfuzzer-undefined-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY' | Step #30 - "compile-libfuzzer-undefined-x86_64":  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2)426; Step #30 - "compile-libfuzzer-undefined-x86_64": | |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": char nam/src/brpc/src/bvar/detail/call_op_returning_void.he:#29#:_12s:t acknote: _ain instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hererra Step #30 - "compile-libfuzzer-undefined-x86_64": y [sizeof29 | ( T p ) *r neatmuer#n#_ sotpa(cvk1_,a rvr2a)y;_s Step #30 - "compile-libfuzzer-undefined-x86_64": i z| e] ^; Step #30 - "compile-libfuzzer-undefined-x86_64":   /src/brpc/src/bvar/detail/series.h\:168 Step #30 - "compile-libfuzzer-undefined-x86_64": : 13:|  ^ 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": :160:1: note: 168expanded from here |  Step #30 - "compile-libfuzzer-undefined-x86_64": call_160op | _trmept_usrtnaicnkg__avroriady(_ospi,z etm Step #30 - "compile-libfuzzer-undefined-x86_64": p ,| _^d Step #30 - "compile-libfuzzer-undefined-x86_64": ata.seco/src/brpc/src/bvar/detail/percentile.hn:d132(:i13):) ; Step #30 - "compile-libfuzzer-undefined-x86_64": note: | declared here ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: /src/brpc/src/bvar/detail/series.h:116note: :16expanded from macro 'DEFINE_SMALL_ARRAY': 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": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": | 425 ^ Step #30 - "compile-libfuzzer-undefined-x86_64": |   cons/src/brpc/src/bvar/window.ht:65 :25u:ns ignote: nein instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested hered Step #30 - "compile-libfuzzer-undefined-x86_64": n ame##_stack_a65rr | a y _ s i z e = ( n a m e # #__sseirziees .ngaemte_#v#a_lsuiez(e 1: ))0;) 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 ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ::1569::1 : note: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested hereexpanded from here Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": 58156 | | t m p _ s t a cSke_rairersaSya_mspilzeer Step #30 - "compile-libfuzzer-undefined-x86_64": ( W| in^d Step #30 - "compile-libfuzzer-undefined-x86_64": owBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 75%] 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE2 warning_SMsALL generated_. Step #30 - "compile-libfuzzer-undefined-x86_64": ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^[ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_header.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :166:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :162:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 162 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^In file included from /src/brpc/src/brpc/builtin/version_service.cpp Step #30 - "compile-libfuzzer-undefined-x86_64": :19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_method.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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_tIn 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 t: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from m/src/brpc/src/bvar/latency_recorder.hp:,26: Step #30 - "compile-libfuzzer-undefined-x86_64":  r/src/brpc/src/bvar/detail/percentile.h:289h:s16.: _nwarning: um_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": samples, 64) ;289 Step #30 - "compile-libfuzzer-undefined-x86_64": | |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64":   mem/src/brpc/src/butil/macros.hse:t(426t:h29is: , note: 0expanded from macro 'DEFINE_SMALL_ARRAY', 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: 426in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here |  Step #30 - "compile-libfuzzer-undefined-x86_64": char 40na | m e # # _Ssatmapclke_(a)r r:a yd[atsa(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": izeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13In 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.hnote: :28declared here: Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289/src/brpc/src/butil/macros.h | : 425 : 20 : memnote: seexpanded from macro 'DEFINE_SMALL_ARRAY't(th Step #30 - "compile-libfuzzer-undefined-x86_64": is , 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 425/src/brpc/src/bvar/detail/sampler.h | : 40 : 16 : connote: stin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here  Step #30 - "compile-libfuzzer-undefined-x86_64": u nsigned40 | n a mSea#m#p_lset(a)c k:_ adrartaay(_)s,i ztei m=e _(unsa(me0##)_ s{i}ze Step #30 - "compile-libfuzzer-undefined-x86_64": <| = ( ^m Step #30 - "compile-libfuzzer-undefined-x86_64": axsize) /src/brpc/src/bvar/detail/sampler.h? :n116a:m23e:# #_snote: iin instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": ze : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_status_code.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/input_messenger.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/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/load_balancer.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/memcache.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/nshead_message.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/nshead_pb_service_adaptor.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 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 /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 161 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowIn file included from /src/brpc/src/brpc/couchbase.cpp:18: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/couchbase.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": Base/src/brpc/src/bvar/detail/percentile.h:289* :ow16: ner, R*warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(thisnote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": ,151 |  0 , s i z eof _series(*th_iss)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40ampler = new: Ser16:i esSnote: amplin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested hereer Step #30 - "compile-libfuzzer-undefined-x86_64": ( this40, | _ v a rS)a; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": mple() : dat/src/brpc/src/bvar/latency_recorder.ha:(49):,7: tinote: me_in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested hereus Step #30 - "compile-libfuzzer-undefined-x86_64": ( 0) {49} | c Step #30 - "compile-libfuzzer-undefined-x86_64": l a| s ^s Step #30 - "compile-libfuzzer-undefined-x86_64":  LatencyRec/src/brpc/src/bvar/detail/sampler.ho:rd116e:r23Ba:s note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested heree { Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | /src/brpc/src/bvar/detail/percentile.h : 132 : 13 :   note:  initializer of 'tmp_stack_array_size' is not a constant expressionSa Step #30 - "compile-libfuzzer-undefined-x86_64": mple t 132 | mp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereDEFINE_SMA Step #30 - "compile-libfuzzer-undefined-x86_64": LL_ARRAY(uint32_t, tmp, r98h | s . _ n u m _ s taampleke_sample();s, 6 Step #30 - "compile-libfuzzer-undefined-x86_64": 4 | ); ^ 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:529:28: note: /src/brpc/src/butil/macros.h:426:42:in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here  Step #30 - "compile-libfuzzer-undefined-x86_64":  529 | note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char _sampler = new  nsaammep#l#e_rs_tack_atyprer(ayt[hissiz)e;of Step #30 - "compile-libfuzzer-undefined-x86_64":  (| Tp) ^* Step #30 - "compile-libfuzzer-undefined-x86_64": name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :33:1: /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 33 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | | ^ Step #30 - "compile-libfuzzer-undefined-x86_64":   /src/brpc/src/bvar/detail/percentile.h m:e132m:13: snote: etdeclared here( Step #30 - "compile-libfuzzer-undefined-x86_64": this/src/brpc/src/butil/macros.h,: 425:020:, snote: izexpanded from macro 'DEFINE_SMALL_ARRAY'eo Step #30 - "compile-libfuzzer-undefined-x86_64": f(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) 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/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_service.cpp.o 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/parallel_channel.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/partition_channel.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/periodic_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 426In file included from | /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": char nam/src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizee#of(*thi#_stasck_array[sizeof(Tp) * name##_stack_a)); Step #30 - "compile-libfuzzer-undefined-x86_64": rr|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ay/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()si : data(), tzime_us(0) {}e]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: 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": /src/brpc/src/bvar/detail/percentile.h:364:36: note:  116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here/src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | /src/brpc/src/bvar/detail/percentile.h:289: 16g:et _innote: teexplicitly cast the pointer to silence this warningrva Step #30 - "compile-libfuzzer-undefined-x86_64": l _at(i).merge(*rh289s | . _ 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": intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :173:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 173 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :169:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 169 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_task.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/auto_concurrency_limiter.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | cla[ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_rpc_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": ss LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, /src/brpc/src/bvar/detail/percentile.h64:132:13: );warning: Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL _ARRAY(uin426 | t 3 2_cth,a rtm pn,a mre##_stachks_.a_rnruamy_[sasmipzleeosf, (T6p4) )*; n Step #30 - "compile-libfuzzer-undefined-x86_64": a m| e# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# Step #30 - "compile-libfuzzer-undefined-x86_64": _stack_/src/brpc/src/butil/macros.har:r426a:y29:_ sizenote: ];expanded from macro 'DEFINE_SMALL_ARRAY'  Step #30 - "compile-libfuzzer-undefined-x86_64": \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | : 153 : 1:c harnote:  expanded from herena Step #30 - "compile-libfuzzer-undefined-x86_64": m e##_stack_ar153r | atym[psi_zsetoafck(_Tapr)r a*y _nsaimzee## Step #30 - "compile-libfuzzer-undefined-x86_64": _ s| ta^c Step #30 - "compile-libfuzzer-undefined-x86_64": k_/src/brpc/src/bvar/detail/percentile.h:132:a13r:r ay_note: sideclared hereze Step #30 - "compile-libfuzzer-undefined-x86_64": ]; /src/brpc/src/butil/macros.h : 425 : 20 \: 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 425 | :364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": c364o | n s t   u n s i g n e d  ngaemte_#i#n_tsetravcakl__aartr(aiy)_.smiezreg e=(* r(hnsa.m_ei#n#t_esrivzael s<[=i (]m)a;xs Step #30 - "compile-libfuzzer-undefined-x86_64": i z| e) ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ? /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.mename#r#g_es(ibz2e) ;: Step #30 - "compile-libfuzzer-undefined-x86_64":  0|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ); \/src/brpc/src/bvar/window.h: Step #30 - "compile-libfuzzer-undefined-x86_64": 53| :17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64":  :149:531 | : note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 149 | tmp_st a c k _ a r r a y _ s_ivzaer- Step #30 - "compile-libfuzzer-undefined-x86_64": >o p| (^) Step #30 - "compile-libfuzzer-undefined-x86_64": (v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] 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": In file included from /src/brpc/src/brpc/details/naming_service_thread.cpp:26: 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :16:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 16 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :12:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 12 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] 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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consul_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_authenticator.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.cpp:33: 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/crc32c_checksum.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :170:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 170 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :166:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :126:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 126 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dh.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/discovery_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64);In file included from /src/brpc/src/brpc/periodic_task.cpp: Step #30 - "compile-libfuzzer-undefined-x86_64": 19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32| : Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16:  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": warning: /src/brpc/src/butil/macros.h:426first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": 426 |  char289 | n memset(tame##h_stiack_array[sizeof(Tp) * name##s_s,t ac0k_,a rrsaiyz_eosfiz(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/sampler.h:/src/brpc/src/bvar/detail/percentile.h40::16364:: 36: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herenote:  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": 40 | Sample() : data(), t ime_us(364 |  0  ) { }  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  get_interva/src/brpc/src/bvar/detail/sampler.hl_a:t116(:i23).merge(*rhs._intervals[i]: note: 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": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/detail/percentile.h:116 | 499 : 12 :   note:  in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here S Step #30 - "compile-libfuzzer-undefined-x86_64": ample tmp ; Step #30 - "compile-libfuzzer-undefined-x86_64": 499| |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  b1.me/src/brpc/src/bvar/detail/sampler.hr:g98e:(b92:) ; Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/window.h:53:1798: |   note:  in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here  Step #30 - "compile-libfuzzer-undefined-x86_64": take_sam ple()53; |  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  _v/src/brpc/src/bvar/detail/percentile.har:529:->28op: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": ()529( | v 1 , v 2 ) ;  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^_s Step #30 - "compile-libfuzzer-undefined-x86_64": ampler = new s/src/brpc/src/bvar/detail/call_op_returning_void.h:a29m:p12l:e r_tnote: ypin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested heree( Step #30 - "compile-libfuzzer-undefined-x86_64": t29 | hriestu)r;n Step #30 - "compile-libfuzzer-undefined-x86_64": o| p( ^v Step #30 - "compile-libfuzzer-undefined-x86_64": 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: note: in 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_/src/brpc/src/bvar/detail/percentile.hre:tu289:r16n:i ng_note: voexplicitly cast the pointer to silence this warningid Step #30 - "compile-libfuzzer-undefined-x86_64": (op, tmp, _data.second 289( | i ) ) ; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": memset(this, 0, sizeof(*this));/src/brpc/src/bvar/detail/series.h Step #30 - "compile-libfuzzer-undefined-x86_64": : 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": Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64":  116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 161 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 161 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/domain_naming_service.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/dynpart_load_balancer.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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_authenticator.cpp.o 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_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/file_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/giano_authenticator.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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 161 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/gzip_compress.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hasher.cpp.o 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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http2_rpc_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http_rpc_protocol.cpp.o 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 86%] 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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/list_naming_service.cpp.o 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :141:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 141 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 86%] 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 161 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :166:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :162:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 162 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/memcache_binary_protocol.cpp.o 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:2 warnings132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(u generated. Step #30 - "compile-libfuzzer-undefined-x86_64": int32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/mongo_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :203:1: 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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 86%] 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* 2 warningvs generated. Step #30 - "compile-libfuzzer-undefined-x86_64": ar) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/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 = GetProtobufByt[ 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": eSize(meta); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/file_naming_service.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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 161 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In 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:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 89%] 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_protocol.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/public_pbrpc_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/couchbase_protocol.cpp:18: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/couchbase_protocol.h:21: 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 89%] 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_authenticator.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:289:162 warnings generated. 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": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 89%] 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": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :195:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 195 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :191:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 191 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 89%] 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13/src/brpc/src/bvar/window.h: warning: :53:17variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]: note: Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": | in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29 Step #30 - "compile-libfuzzer-undefined-x86_64": : note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | 53 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return a p pen _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": d_s/src/brpc/src/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 | e c 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": o/src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested heren Step #30 - "compile-libfuzzer-undefined-x86_64": d(v 65 | a l u e , _ o p ) ;  Step #30 - "compile-libfuzzer-undefined-x86_64": _| series.append(_o ^ Step #30 - "compile-libfuzzer-undefined-x86_64": wner->get_v/src/brpc/src/bvar/window.h:65:25alue(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": : |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": : 219:1: note: 65expanded from here |  Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | t m p _ s t_saecrki_easr.raapyp_esnidz(e_ Step #30 - "compile-libfuzzer-undefined-x86_64": o w| ne^r 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": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :189:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 189 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :185:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 185 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/rtmp_protocol.cpp.o 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/snappy_compress.cpp.o 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 91%] 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/locality_aware_load_balancer.cpp: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": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | 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.hme:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.hms:25: Step #30 - "compile-libfuzzer-undefined-x86_64": eIn file included from t/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:thi32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:s27: 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": 0In file included from , /src/brpc/src/bvar/latency_recorder.h:s26i: Step #30 - "compile-libfuzzer-undefined-x86_64": ze/src/brpc/src/bvar/detail/percentile.hof:289(:*16:t hiswarning: ))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": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13:  |  ^note: 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 | Samin 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": ple tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": 168|  ^ | Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | calmeml_op_returningset(this_, 0, sizeof(*vthis)); Step #30 - "compile-libfuzzer-undefined-x86_64": o|  ^i Step #30 - "compile-libfuzzer-undefined-x86_64": d |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": (op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/streaming_rpc_protocol.cpp.o 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 91%] 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/ubrpc2pb_protocol.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/policy/weighted_randomized_load_balancer.cpp.o 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 |  /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": _ 157s | 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": amp ler =294 | new sample r Ser_iatlypeizeHuluHeaderAndMeta(&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:35this);:  Step #30 - "compile-libfuzzer-undefined-x86_64": note: | initializer of 'meta_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": ^ 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/src/brpc/src/bvar/detail/percentile.h:289:155:20: :note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 16 155 | const uint32_t meta_siz:e = GetProtobu fByteSize(meta); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/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/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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 91%] 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": In file included from /src/brpc/src/brpc/policy/remote_file_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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364In file included from | /src/brpc/src/brpc/policy/randomized_load_balancer.cpp : get22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from _/src/brpc/src/brpc/socket.h:interval34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from _/src/brpc/src/brpc/details/ssl_helper.ha:33: Step #30 - "compile-libfuzzer-undefined-x86_64": tIn file included from (/src/brpc/src/brpc/socket_id.hi:)25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from .merge(/src/brpc/src/brpc/versioned_ref_with_id.h:26*: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from r/src/brpc/src/bthread/bthread.hhs: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._inte: Step #30 - "compile-libfuzzer-undefined-x86_64": rvaIn 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:ls[i])289:16: warning: ; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]12: note:  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": 289 | memset(this,  499 | 0, s i bzeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": | 1.merge ^ Step #30 - "compile-libfuzzer-undefined-x86_64": (b2);/src/brpc/src/bvar/detail/sampler.h Step #30 - "compile-libfuzzer-undefined-x86_64": : | 40 ^: Step #30 - "compile-libfuzzer-undefined-x86_64": 16: note: /src/brpc/src/bvar/window.h:in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here53: Step #30 - "compile-libfuzzer-undefined-x86_64": 17 : note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here40 Step #30 - "compile-libfuzzer-undefined-x86_64": | Samp53l | e ( ) : d a t a ( ) , t_ivmaer_-u>so(p()(v1,0) { }v 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/detail/sampler.h:116:23: note:  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": note: 116 | in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | ret u rSnamp loep<(T> tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": v1, 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/sampler.h:98:/src/brpc/src/bvar/detail/series.h9::168 :13note: : in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herenote: Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64": 168 | 98 | t a k e _csaalmpll_op_returning_ve(); Step #30 - "compile-libfuzzer-undefined-x86_64": o i| d( ^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 Step #30 - "compile-libfuzzer-undefined-x86_64": Sampler(W/src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereindowBas Step #30 - "compile-libfuzzer-undefined-x86_64": e* owner, R* v 529ar | ) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289note: | memset(in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested herethis Step #30 - "compile-libfuzzer-undefined-x86_64": , 0151 | , _ser iess_saizeofmp(*lethirs) =); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/progressive_attachment.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :166:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :162:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 162 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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 /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/block_pool.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :189:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 189 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_sIn file included from tack_array_s/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": iz 289 | memset(thise , 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": = (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/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_helper.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis.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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_command.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_reply.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/reloadable_flags.cpp.o 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:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /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": 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/restful.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/retry_policy.cpp.o 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": /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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_dump.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_pb_message_factory.cpp.o 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": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/selective_channel.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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var);2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": [ 97%] 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/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_2s warningtsa generatedc. Step #30 - "compile-libfuzzer-undefined-x86_64": k_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server.cpp.o 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/server_id.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_In file included from array/src/brpc/src/brpc/policy/weighted_round_robin_load_balancer.cpp_:22si: Step #30 - "compile-libfuzzer-undefined-x86_64": zeIn 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 :\ Step #30 - "compile-libfuzzer-undefined-x86_64": 25 : Step #30 - "compile-libfuzzer-undefined-x86_64": | In file included from /src/brpc/src/brpc/versioned_ref_with_id.h ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~: Step #30 - "compile-libfuzzer-undefined-x86_64": 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/bvar/detail/percentile.h/src/brpc/src/bthread/mutex.h::364:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h36::28 : Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(/src/brpc/src/bvar/detail/sampler.hop,: 116t:m23p:, _dnote: atin instantiation of member function 'bvar::detail::Sample>::Sample' requested herea.s Step #30 - "compile-libfuzzer-undefined-x86_64": e cond(i));116 Step #30 - "compile-libfuzzer-undefined-x86_64": | |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/detail/series.hSa:m116p:l16e:< T> note: tmin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herep; 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( Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(1this)));; 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/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/src/brpc/src/bvar/detail/percentile.h:289, R* :v16a:r ) Step #30 - "compile-libfuzzer-undefined-x86_64": note: | explicitly cast the pointer to silence this warning ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64":  289 | /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 = memset(tnheiws ,S 0eriesS,a mpsliezre(ofth(i*st,h i_svar)));; 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":  |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/simple_data_pool.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket.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": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket_map.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] 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:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 161 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/stream.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/trackme.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ts.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY'[100%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/uri.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here2 warning Step #30 - "compile-libfuzzer-undefined-x86_64": s generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :195:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 195 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :191:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 191 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0,  siz289e | of  ( *  t h i sme)m)s;et Step #30 - "compile-libfuzzer-undefined-x86_64": ( | th ^i Step #30 - "compile-libfuzzer-undefined-x86_64": s ,|  (void*)0 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::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 4 warnings generated. 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": /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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": /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": 426 | 398 |  c h a r  CnaalmleI#d# _stacki_dasr[r_anya[llsoicz]e;of Step #30 - "compile-libfuzzer-undefined-x86_64":  (| Tp ^~~~~~~) Step #30 - "compile-libfuzzer-undefined-x86_64": * name##/src/brpc/src/brpc/selective_channel.cpp_:s398t:a20c:k _arnote: raimplicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member functiony_ Step #30 - "compile-libfuzzer-undefined-x86_64": 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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": 2 warnings generated. 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:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :166:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :162:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 162 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :166:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :162:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 162 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/server.cpp:2004:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 2004 | char buf[fullname_len]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/server.cpp:2004:18: note: initializer of 'fullname_len' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/server.cpp:2001:18: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 2001 | 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": 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": 3 warnings generated. 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": 3 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": 2 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": [100%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Linking CXX static library ../output/lib/libbrpc-static-debug.a 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_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": [ 16%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :189:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 189 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :185:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 185 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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": [ 16%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] 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": [ 16%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": [ 15%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] 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": [ 97%] 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": [ 16%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] 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_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": [ 16%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] 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": [ 16%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": [ 16%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :222:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 222 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :218:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 218 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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": [ 15%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] 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": [ 97%] 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:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :195:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 195 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :191:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 191 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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/tmpgrul1dha/fuzz_json Step #31 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpgrul1dha/fuzz_butil Step #31 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpgrul1dha/fuzz_redis Step #31 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpgrul1dha/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 689 --:--:-- --:--:-- --:--:-- 690 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 100 47.1M 0 0 100 47.1M 0 107M --:--:-- --:--:-- --:--:-- 107M 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 100 43 0 0 100 43 0 172 --:--:-- --:--:-- --:--:-- 173 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 177 --:--:-- --:--:-- --:--:-- 177 Finished Step #37 Starting Step #38 Step #38: Already have image: gcr.io/oss-fuzz/brpc Finished Step #38 PUSH DONE